diff options
Diffstat (limited to 'src/com/android/settings/ConfirmLockPassword.java')
-rw-r--r-- | src/com/android/settings/ConfirmLockPassword.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/ConfirmLockPassword.java b/src/com/android/settings/ConfirmLockPassword.java index 16c465b..3f4a4f3 100644 --- a/src/com/android/settings/ConfirmLockPassword.java +++ b/src/com/android/settings/ConfirmLockPassword.java @@ -108,7 +108,7 @@ public class ConfirmLockPassword extends PreferenceActivity { int currentType = mPasswordEntry.getInputType(); mPasswordEntry.setInputType(isAlpha ? currentType - : (currentType | InputType.TYPE_CLASS_NUMBER)); + : (InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD)); // Update the breadcrumb (title) if this is embedded in a PreferenceActivity if (activity instanceof PreferenceActivity) { @@ -138,10 +138,10 @@ public class ConfirmLockPassword extends PreferenceActivity { private void handleNext() { final String pin = mPasswordEntry.getText().toString(); if (mLockPatternUtils.checkPassword(pin)) { - + Intent intent = new Intent(); intent.putExtra("password", pin); - + getActivity().setResult(RESULT_OK, intent); getActivity().finish(); } else { |