Loading policy/com/android/internal/policy/impl/LockPatternKeyguardView.java +8 −3 Original line number Diff line number Diff line Loading @@ -640,12 +640,17 @@ public class LockPatternKeyguardView extends KeyguardViewBase { final IccCard.State simState = mUpdateMonitor.getSimState(); if (stuckOnLockScreenBecauseSimMissing() || (simState == IccCard.State.PUK_REQUIRED)) { return Mode.LockScreen; } else if (isSecure()) { } else { // Show LockScreen first for any screen other than Pattern unlock. final boolean usingLockPattern = mLockPatternUtils.getKeyguardStoredPasswordQuality() == DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; if (isSecure() && usingLockPattern) { return Mode.UnlockScreen; } else { return Mode.LockScreen; } } } /** * Given the current state of things, what should the unlock screen be? Loading Loading
policy/com/android/internal/policy/impl/LockPatternKeyguardView.java +8 −3 Original line number Diff line number Diff line Loading @@ -640,12 +640,17 @@ public class LockPatternKeyguardView extends KeyguardViewBase { final IccCard.State simState = mUpdateMonitor.getSimState(); if (stuckOnLockScreenBecauseSimMissing() || (simState == IccCard.State.PUK_REQUIRED)) { return Mode.LockScreen; } else if (isSecure()) { } else { // Show LockScreen first for any screen other than Pattern unlock. final boolean usingLockPattern = mLockPatternUtils.getKeyguardStoredPasswordQuality() == DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; if (isSecure() && usingLockPattern) { return Mode.UnlockScreen; } else { return Mode.LockScreen; } } } /** * Given the current state of things, what should the unlock screen be? Loading