Loading core/java/com/android/internal/widget/PasswordEntryKeyboardHelper.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -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); Loading Loading
core/java/com/android/internal/widget/PasswordEntryKeyboardHelper.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -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); Loading