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

Commit f94de427 authored by Gabriele M's avatar Gabriele M Committed by Nolen Johnson
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 c5488eee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1562,6 +1562,8 @@ public class KeyguardViewMediator extends SystemUI implements 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;
            }