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

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

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

* commit '40c4021a':
  third part apps can disable the secret lockscreen
parents da1bc605 40c4021a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -773,6 +773,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) {