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

Commit edd0e278 authored by lumark's avatar lumark Committed by android-build-merger
Browse files

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

am: 407f2f37

Change-Id: If16c47f20066500e1ded6f96f64877c38bfdc5f7
parents 6184f98d 407f2f37
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);
        }