Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab3079d5 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Log SIM state changes

We currently do not have enough information to debug cases where
the keyguard becomes visible because of a SIM state change.

Change-Id: I1e9aee75a06720ea62a282d0b2c7bd49351f58c7
Bug: 109773271
Test: look at logs
parent 7f6641b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,6 +26,6 @@ public class KeyguardConstants {
     * be used temporarily for debugging.
     */
    public static final boolean DEBUG = false;
    public static final boolean DEBUG_SIM_STATES = false;
    public static final boolean DEBUG_SIM_STATES = true;
    public static final boolean DEBUG_FP_WAKELOCK = true;
}
+1 −0
Original line number Diff line number Diff line
@@ -495,6 +495,7 @@ public class KeyguardViewMediator extends SystemUI {
                    break;
                case READY:
                    synchronized (KeyguardViewMediator.this) {
                        if (DEBUG_SIM_STATES) Log.d(TAG, "READY, reset state? " + mShowing);
                        if (mShowing) {
                            resetStateLocked();
                        }