Merge "Fix 3381304: disable key preview in LockScreen's qwerty keyboard" into honeycomb

This commit is contained in:
Jim Miller
2011-01-24 17:03:07 -08:00
committed by Android (Google) Code Review

View File

@ -128,7 +128,8 @@ public class PasswordEntryKeyboardHelper implements OnKeyboardActionListener {
final boolean visiblePassword = Settings.System.getInt(
mContext.getContentResolver(),
Settings.System.TEXT_SHOW_PASSWORD, 1) != 0;
mKeyboardView.setPreviewEnabled(visiblePassword);
final boolean enablePreview = false; // TODO: grab from configuration
mKeyboardView.setPreviewEnabled(visiblePassword && enablePreview);
break;
case KEYBOARD_MODE_NUMERIC:
mKeyboardView.setKeyboard(mNumericKeyboard);