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

* commit '85d3ef337bdd21109e9c29356a6df96aacb3f849':
  Fix 3381304: disable key preview in LockScreen's qwerty keyboard
This commit is contained in:
Jim Miller
2011-01-24 17:04:51 -08:00
committed by Android Git Automerger

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);