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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user