[MEP] The subscriptionInfo's getSimSlotIndex is logical slotId
1. The subscriptionInfo's getSimSlotIndex is logical slotId. The code
should compare it with uiccSlotMapping.getLogicalSlotIndex()
2. Rename the parameters for the readability.
3. The mobile network selection dialog did not be closed after user clicked.
Bug: 219951253
Test: manual test.
Change-Id: I7fef78547f4e6283791cd15a03275eaefeb50e3c
(cherry picked from commit 181f8179f1)
This commit is contained in:
committed by
SongFerng Wang
parent
8f84e7a9e7
commit
e90d80cc52
@@ -78,11 +78,19 @@ public class SwitchSlotSidecar
|
||||
super.run(param);
|
||||
}
|
||||
|
||||
/** Starts switching to the removable slot. */
|
||||
public void runSwitchToEuiccSlot(int id, int port, SubscriptionInfo removedSubInfo) {
|
||||
/**
|
||||
* Start the SimSlotMapping process if the euicc slot is not in SimSlotMapping list.
|
||||
* @param physicalSlotId The physical slot id.
|
||||
* @param port The port id.
|
||||
* @param removedSubInfo The subscriptionInfo which is selected by the user to disable when all
|
||||
* of sim slots are full in the device. If all of slots are not full in
|
||||
* the device, then this is null.
|
||||
*/
|
||||
public void runSwitchToEuiccSlot(int physicalSlotId, int port,
|
||||
SubscriptionInfo removedSubInfo) {
|
||||
Param param = new Param();
|
||||
param.command = Command.SWITCH_TO_EUICC_SIM;
|
||||
param.slotId = id;
|
||||
param.slotId = physicalSlotId;
|
||||
param.removedSubInfo = removedSubInfo;
|
||||
param.port = port;
|
||||
super.run(param);
|
||||
|
||||
Reference in New Issue
Block a user