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

Commit d0b698f0 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix "None" lock screen option

Now that we have a user switcher in quick settings, we don't need to
show the lockscreen if multi-user is enabled.

Bug: 15864584
Change-Id: I1a7ea69963fdd5a4f79584f565beff36612468f5
parent e65e310f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -881,8 +881,7 @@ public class KeyguardViewMediator extends SystemUI {
            return;
        }

        if (!mUserManager.isUserSwitcherEnabled()
                && mLockPatternUtils.isLockScreenDisabled() && !lockedOrMissing) {
        if (mLockPatternUtils.isLockScreenDisabled() && !lockedOrMissing) {
            if (DEBUG) Log.d(TAG, "doKeyguard: not showing because lockscreen is off");
            return;
        }