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

Commit 2f3b4acf authored by Hunter Knepshield's avatar Hunter Knepshield
Browse files

Use slotId -1 until cardId is fully ready.

Bug: 122978614
Bug: 123006815
Test: atest FrameworksTelephonyTests
Change-Id: Ifbaf7959ed12e4dcdc0e283b7424d564716251cc
Merged-In: Ifbaf7959ed12e4dcdc0e283b7424d564716251cc
parent b5900989
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -674,7 +674,9 @@ public class EuiccConnector extends StateMachine implements ServiceConnection {
            } else if (isEuiccCommand(message.what)) {
                final BaseEuiccCommandCallback callback = getCallback(message);
                onCommandStart(callback);
                final int slotId = getSlotIdFromCardId(message.arg1);
                // TODO(b/122978614) restore slotId from cardId once cardId is ready
                final int slotId = SubscriptionManager.INVALID_SIM_SLOT_INDEX;
                // final int slotId = getSlotIdFromCardId(message.arg1);
                try {
                    switch (message.what) {
                        case CMD_GET_EID: {