summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2018-04-24 14:21:39 +0200
committer Adrian Roos <roosa@google.com> 2018-04-24 14:21:43 +0200
commit6628d74eb4759be92efdc3cb1cd86c479139a53c (patch)
treeb19174929f9e229cb481659ec479aee8ed672be4
parentbbfe498aefeb403ac224b5fc1d890f1e7ca65f5a (diff)
Keyguard: Don't lock when phone process crashes
Fixed an issue where the keyguard locked in response to the phone process crashing. Since that's not avoidable for the moment, don't treat unknown sim states as absent. Bug: 78060670 Test: adb shell kill `pid com.android.phone`; verify that the phone did not lock Change-Id: Ic5aa51d3b0521740b828d934c6653f8d5ae6380a
-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 5993c396d0a1..0be3d70ed85c 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -502,9 +502,6 @@ public class KeyguardViewMediator extends SystemUI {
break;
default:
if (DEBUG_SIM_STATES) Log.v(TAG, "Unspecific state: " + simState);
- synchronized (KeyguardViewMediator.this) {
- onSimAbsentLocked();
- }
break;
}
}