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

Commit 40c4021a authored by Jim Miller's avatar Jim Miller Committed by Gerrit Code Review
Browse files

Merge "third part apps can disable the secret lockscreen"

parents 7a3c8c70 261ec767
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) {