Changing the condition since the esim may be removable
The condition whether the slot is esim slot should use getIsEuicc api since the esim may be removable. Bug: 233338345 Test: atest UiccSlotUtilTest Change-Id: I47dc068e57a0faa7f7ce85af7933a48caa2c93e4
This commit is contained in:
@@ -190,7 +190,8 @@ public class EnableMultiSimSidecar extends AsyncTaskSidecar<Void, Boolean> {
|
||||
Set<Integer> activeRemovableLogicalSlotIds = new ArraySet<>();
|
||||
for (UiccSlotInfo info : infos) {
|
||||
for (UiccPortInfo portInfo :info.getPorts()) {
|
||||
if (info != null && portInfo.isActive() && info.isRemovable()) {
|
||||
if (info != null && portInfo.isActive() && info.isRemovable()
|
||||
&& !info.getIsEuicc()) {
|
||||
activeRemovableLogicalSlotIds.add(portInfo.getLogicalSlotIndex());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user