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

Unverified Commit 6b0f629c authored by Gabriele M's avatar Gabriele M Committed by Michael Bestas
Browse files

SystemUI: Dismiss keyguard on boot if disabled by current profile

Properly dismiss keyguard on boot if the current profile has it
disabled, otherwise we will just show a black screen with just the
status bar and a navbar with only the back button.

BUGBASH-87

Change-Id: I14ed10ae9db40c32be22c1fb43f8a1719787d91b
parent 8ebe54a1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2249,6 +2249,8 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
        if (mLockPatternUtils.isLockScreenDisabled(KeyguardUpdateMonitor.getCurrentUser())
                && !lockedOrMissing && !forceShow) {
            if (DEBUG) Log.d(TAG, "doKeyguard: not showing because lockscreen is off");
            setShowingLocked(false, mAodShowing);
            hideLocked();
            return;
        }