am 9dda10c3: am 876b0644: Fix 2555028: Restore showing tab unlock before PIN & password entry.
This commit is contained in:
@@ -640,10 +640,15 @@ public class LockPatternKeyguardView extends KeyguardViewBase {
|
||||
final IccCard.State simState = mUpdateMonitor.getSimState();
|
||||
if (stuckOnLockScreenBecauseSimMissing() || (simState == IccCard.State.PUK_REQUIRED)) {
|
||||
return Mode.LockScreen;
|
||||
} else if (isSecure()) {
|
||||
return Mode.UnlockScreen;
|
||||
} else {
|
||||
return Mode.LockScreen;
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user