Merge "Fix 3296883: Hide PIN characters in ChooseLockPassword" into honeycomb

This commit is contained in:
Jim Miller
2011-01-17 16:36:34 -08:00
committed by Android (Google) Code Review

View File

@@ -197,7 +197,7 @@ public class ChooseLockPassword extends PreferenceActivity {
int currentType = mPasswordEntry.getInputType(); int currentType = mPasswordEntry.getInputType();
mPasswordEntry.setInputType(mIsAlphaMode ? currentType mPasswordEntry.setInputType(mIsAlphaMode ? currentType
: (currentType | InputType.TYPE_CLASS_NUMBER)); : (InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD));
Intent intent = getActivity().getIntent(); Intent intent = getActivity().getIntent();
final boolean confirmCredentials = intent.getBooleanExtra("confirm_credentials", true); final boolean confirmCredentials = intent.getBooleanExtra("confirm_credentials", true);