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

Unverified Commit 4e2db027 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 f51dd29a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2370,6 +2370,8 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
        if (mLockPatternUtils.isLockScreenDisabled(mSelectedUserInteractor.getSelectedUserId())
                && !lockedOrMissing && !forceShow) {
            if (DEBUG) Log.d(TAG, "doKeyguard: not showing because lockscreen is off");
            setShowingLocked(false, mAodShowing);
            hideLocked();
            return;
        }