diff options
author | Jim Miller <jaggies@google.com> | 2011-01-17 15:50:05 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-01-17 15:50:05 -0800 |
commit | 3b46f49d2a5abb47c1bdf239f855d2063b60595e (patch) | |
tree | 141df007ea8e94eb7dad52c3ca368fffc759f8bd /src/com/android/settings/ChooseLockPassword.java | |
parent | 67c0d5899278230ce5c1ec3734c843e8710bbefd (diff) | |
download | packages_apps_Settings-3b46f49d2a5abb47c1bdf239f855d2063b60595e.tar.gz packages_apps_Settings-3b46f49d2a5abb47c1bdf239f855d2063b60595e.tar.bz2 packages_apps_Settings-3b46f49d2a5abb47c1bdf239f855d2063b60595e.zip |
Fix 3296883: Hide PIN characters in ChooseLockPassword
This configures the password entry EditText to numeric password mode
to hide PIN entry characters.
Change-Id: I0e97210f6499c6557c1f0e9e861559a5f8ac1f07
Diffstat (limited to 'src/com/android/settings/ChooseLockPassword.java')
-rw-r--r-- | src/com/android/settings/ChooseLockPassword.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/ChooseLockPassword.java b/src/com/android/settings/ChooseLockPassword.java index 1bebebb15..018dfd2aa 100644 --- a/src/com/android/settings/ChooseLockPassword.java +++ b/src/com/android/settings/ChooseLockPassword.java @@ -197,7 +197,7 @@ public class ChooseLockPassword extends PreferenceActivity { int currentType = mPasswordEntry.getInputType(); mPasswordEntry.setInputType(mIsAlphaMode ? currentType - : (currentType | InputType.TYPE_CLASS_NUMBER)); + : (InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD)); Intent intent = getActivity().getIntent(); final boolean confirmCredentials = intent.getBooleanExtra("confirm_credentials", true); |