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

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

am 5dd10bd1: am e2e945a8: am 40c4021a: Merge "third part apps can disable the secret lockscreen"

* commit '5dd10bd1':
  third part apps can disable the secret lockscreen
parents 07e1967c 5dd10bd1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -748,6 +748,11 @@ public class KeyguardViewMediator extends SystemUI {
        synchronized (this) {
            if (DEBUG) Log.d(TAG, "setKeyguardEnabled(" + enabled + ")");

            if (isSecure()) {
                Log.d(TAG, "current mode is SecurityMode, ignore hide keyguard");
                return;
            }

            mExternallyEnabled = enabled;

            if (!enabled && mShowing) {