summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2018-09-05 14:50:13 -0700
committer Lucas Dupin <dupin@google.com> 2018-09-05 14:50:13 -0700
commitb3e65f7e1bd568d6d9a9af167527c5eedd51b3fc (patch)
tree8fb6bb4aac5116d8f416ae38dae982591478bfe3
parent322a8b214ccd59072c7eb343a628d4b5a10b6250 (diff)
Do not reset keyguard when SIM is ready
We used to reset the keyguard because the SIM could potentially require a PIN/PUK but most of the time it won't be true. The SIM might take a while to load, which means that the user would swipe up to unlock and then the password view would disappear because the SIM became READY. Now, we're resetting the keyguard only when the SIM actually requests a PIN or PUK. Change-Id: I0e007b4e5cf9eed6c1cee2d570ce7e9cd2fa1ea6 Fixes: 22267680 Test: manual, rebooting device with SIM card
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
index 4977ff7d16b7..1655c01f5e8e 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -503,9 +503,6 @@ public class KeyguardViewMediator extends SystemUI {
case READY:
synchronized (KeyguardViewMediator.this) {
if (DEBUG_SIM_STATES) Log.d(TAG, "READY, reset state? " + mShowing);
- if (mShowing) {
- resetStateLocked();
- }
mLockWhenSimRemoved = true;
}
break;