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

Commit bd481355 authored by Jayachandran C's avatar Jayachandran C
Browse files

Use PHONE_KEY instead of SLOT_KEY as telephony always passes phoneId isntead of slotId

Bug: 132061026
Test: Verified by disabling PIN1 locked eSIM takes me to idle screen
Change-Id: I1ea9cd37b2b09ed35b1679636e2ae6bfb94228bc
parent 51374fc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1187,7 +1187,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
                throw new IllegalArgumentException("only handles intent ACTION_SIM_STATE_CHANGED");
            }
            String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE);
            int slotId = intent.getIntExtra(PhoneConstants.SLOT_KEY, 0);
            int slotId = intent.getIntExtra(PhoneConstants.PHONE_KEY, 0);
            int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY,
                    SubscriptionManager.INVALID_SUBSCRIPTION_ID);
            if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) {