From 6628d74eb4759be92efdc3cb1cd86c479139a53c Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Tue, 24 Apr 2018 14:21:39 +0200 Subject: [PATCH] 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 --- .../src/com/android/systemui/keyguard/KeyguardViewMediator.java | 3 --- 1 file changed, 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; } } -- 2.11.0