Fix 3510307: Hide PIN passwords in ConfirmLockPassword
Change-Id: I9389cc37f013fe027df7a0eb0035fc0db8678792
This commit is contained in:
@@ -108,7 +108,7 @@ public class ConfirmLockPassword extends PreferenceActivity {
|
|||||||
|
|
||||||
int currentType = mPasswordEntry.getInputType();
|
int currentType = mPasswordEntry.getInputType();
|
||||||
mPasswordEntry.setInputType(isAlpha ? currentType
|
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
|
// Update the breadcrumb (title) if this is embedded in a PreferenceActivity
|
||||||
if (activity instanceof PreferenceActivity) {
|
if (activity instanceof PreferenceActivity) {
|
||||||
|
Reference in New Issue
Block a user