Merge "Revert "Don't request PIN field focus again unless re-enabled"" into sc-dev
This commit is contained in:
@@ -62,10 +62,9 @@ public abstract class KeyguardPinBasedInputView extends KeyguardAbsKeyInputView
|
||||
|
||||
@Override
|
||||
protected void setPasswordEntryEnabled(boolean enabled) {
|
||||
boolean wasEnabled = mPasswordEntry.isEnabled();
|
||||
mPasswordEntry.setEnabled(enabled);
|
||||
mOkButton.setEnabled(enabled);
|
||||
if (enabled && !wasEnabled && !mPasswordEntry.hasFocus()) {
|
||||
if (enabled && !mPasswordEntry.hasFocus()) {
|
||||
mPasswordEntry.requestFocus();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user