[MEP] Refactor SlotSidecar API for all of sim page.
remove the SlotSidecar's run() and using new run() with port id information. Bug: 218439715 Test: manual test for UI Change-Id: I81479a0c514f2b8f58b9167b31d357f017732482
This commit is contained in:
@@ -159,11 +159,12 @@ public class ChooseSimActivity extends Activity
|
||||
mSelectedItemIndex = subItem.getId();
|
||||
if (mSelectedItemIndex == INDEX_PSIM) {
|
||||
Log.i(TAG, "Ready to switch to pSIM slot.");
|
||||
mSwitchToRemovableSlotSidecar.run(UiccSlotUtil.INVALID_PHYSICAL_SLOT_ID);
|
||||
mSwitchToRemovableSlotSidecar.run(UiccSlotUtil.INVALID_PHYSICAL_SLOT_ID, null);
|
||||
} else {
|
||||
Log.i(TAG, "Ready to switch to eSIM subscription with index: " + mSelectedItemIndex);
|
||||
mSwitchToEuiccSubscriptionSidecar.run(
|
||||
mEmbeddedSubscriptions.get(mSelectedItemIndex).getSubscriptionId());
|
||||
mEmbeddedSubscriptions.get(mSelectedItemIndex).getSubscriptionId(),
|
||||
UiccSlotUtil.INVALID_PORT_ID, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user