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

Commit 9fa1ada3 authored by Jim Miller's avatar Jim Miller
Browse files

Fix 5497305: Make sure we show SIM unlock when "None" is selected

Previously the code ignored SIM state when lockscreen was set to "None."
It now properly accounts for the SIM state when deciding to show.

Change-Id: I272348c1a21b57ac146910850ea3db3adef0227c
parent af675222
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -625,7 +625,7 @@ public class KeyguardViewMediator implements KeyguardViewCallback,
            return;
        }

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