File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
policy/src/com/android/internal/policy/impl Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -616,16 +616,16 @@ private void doKeyguardLocked() {
616616 final IccCard .State state = mUpdateMonitor .getSimState ();
617617 final boolean lockedOrMissing = state .isPinLocked ()
618618 || ((state == IccCard .State .ABSENT
619- || state == IccCard .State .PERM_DISABLED )
620- && requireSim );
619+ || state == IccCard .State .PERM_DISABLED )
620+ && requireSim );
621621
622622 if (!lockedOrMissing && !provisioned ) {
623623 if (DEBUG ) Log .d (TAG , "doKeyguard: not showing because device isn't provisioned"
624624 + " and the sim is not locked or missing" );
625625 return ;
626626 }
627627
628- if (mLockPatternUtils .isLockScreenDisabled ()) {
628+ if (mLockPatternUtils .isLockScreenDisabled () && ! lockedOrMissing ) {
629629 if (DEBUG ) Log .d (TAG , "doKeyguard: not showing because lockscreen is off" );
630630 return ;
631631 }
You can’t perform that action at this time.
0 commit comments