Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 407f2f37 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix Password entry won't enable when lockout finished in screen-off" into qt-qpr1-dev

parents 9c743a22 e98f04b9
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -86,13 +86,12 @@ public class KeyguardPasswordView extends KeyguardAbsKeyInputView
            mSecurityMessageDisplay.setMessage("");
        }
        final boolean wasDisabled = mPasswordEntry.isEnabled();
        // Don't set enabled password entry & showSoftInput when PasswordEntry is invisible or in
        // pausing stage.
        setPasswordEntryEnabled(true);
        setPasswordEntryInputEnabled(true);
        // Don't call showSoftInput when PasswordEntry is invisible or in pausing stage.
        if (!mResumed || !mPasswordEntry.isVisibleToUser()) {
            return;
        }
        setPasswordEntryEnabled(true);
        setPasswordEntryInputEnabled(true);
        if (wasDisabled) {
            mImm.showSoftInput(mPasswordEntry, InputMethodManager.SHOW_IMPLICIT);
        }