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

Commit 959da097 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"...

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

Change-Id: I5d7b6cb01c1e3a92ab4297ddecce04869d2e9996
parents cb364f99 edd0e278
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);
        }