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

Commit 6143c1c3 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Map UNINITIALIZED to invalid slot" am: ed8174c8

am: 6123dd92

Change-Id: I8ec48dfec2c175048d68dad7e609be9144e2b15f
parents 9ae0a174 6123dd92
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -953,7 +953,8 @@ public class EuiccConnector extends StateMachine implements ServiceConnection {
     * Gets the slot ID from the card ID.
     */
    private int getSlotIdFromCardId(int cardId) {
        if (cardId == TelephonyManager.UNSUPPORTED_CARD_ID) {
        if (cardId == TelephonyManager.UNSUPPORTED_CARD_ID
                || cardId == TelephonyManager.UNINITIALIZED_CARD_ID) {
            return SubscriptionManager.INVALID_SIM_SLOT_INDEX;
        }
        TelephonyManager tm = (TelephonyManager)