Fix 3510307: Hide PIN passwords in ConfirmLockPassword

Change-Id: I9389cc37f013fe027df7a0eb0035fc0db8678792
This commit is contained in:
Jim Miller
2011-03-09 14:53:14 -08:00
parent 6adc2ee87f
commit 025269df25

View File

@@ -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) {