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:
@@ -128,7 +128,8 @@ public class PasswordEntryKeyboardHelper implements OnKeyboardActionListener {
|
|||||||
final boolean visiblePassword = Settings.System.getInt(
|
final boolean visiblePassword = Settings.System.getInt(
|
||||||
mContext.getContentResolver(),
|
mContext.getContentResolver(),
|
||||||
Settings.System.TEXT_SHOW_PASSWORD, 1) != 0;
|
Settings.System.TEXT_SHOW_PASSWORD, 1) != 0;
|
||||||
mKeyboardView.setPreviewEnabled(visiblePassword);
|
final boolean enablePreview = false; // TODO: grab from configuration
|
||||||
|
mKeyboardView.setPreviewEnabled(visiblePassword && enablePreview);
|
||||||
break;
|
break;
|
||||||
case KEYBOARD_MODE_NUMERIC:
|
case KEYBOARD_MODE_NUMERIC:
|
||||||
mKeyboardView.setKeyboard(mNumericKeyboard);
|
mKeyboardView.setKeyboard(mNumericKeyboard);
|
||||||
|
|||||||
Reference in New Issue
Block a user