Merge "[MEP] sort the simSlotMapping by logcal slot id" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
faa0eddcc7
@@ -369,6 +369,7 @@ public class UiccSlotUtil {
|
||||
}
|
||||
return true;
|
||||
})
|
||||
.sorted(Comparator.comparingInt(UiccSlotMapping::getLogicalSlotIndex))
|
||||
.mapToInt(uiccSlotMapping -> uiccSlotMapping.getLogicalSlotIndex())
|
||||
.findFirst()
|
||||
.orElse(INVALID_LOGICAL_SLOT_ID);
|
||||
|
||||
Reference in New Issue
Block a user