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

Commit 8eb3048a authored by Jim Miller's avatar Jim Miller Committed by Android Git Automerger
Browse files

am 87d0366d: Fix NPE caused by applications that try to hide keyguard while it\'s not showing

* commit '87d0366d':
  Fix NPE caused by applications that try to hide keyguard while it's not showing
parents e97c6faa 87d0366d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -881,8 +881,10 @@ public class KeyguardViewMediator {
     * Dismiss the keyguard through the security layers.
     */
    public void dismiss() {
        if (mShowing && !mHidden) {
            mKeyguardViewManager.dismiss();
        }
    }

    /**
     * Send message to keyguard telling it to reset its state.