Revert "Don't request PIN field focus again unless re-enabled"
This reverts commit 3ce118c58c.
Reason for revert: The culprit candicate CL of b/190128793. Not that this revert is just to verify if it is the real culprit of b/190128793. Doesn't mean it must be reverted
Bug: b/190128793
Change-Id: Ibd580df35590ecf0c75f6004db900b9d4aafb03a
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