Loading src/java/com/android/internal/telephony/euicc/EuiccController.java +1 −1 Original line number Diff line number Diff line Loading @@ -1179,7 +1179,7 @@ public class EuiccController extends IEuiccController.Stub { /** * Returns true if the target port index is valid. * 1. Port index is valid if it is non-negative and less than the total port count. * 2. In SS Mode, port index is invalid if the embedded slot already has an active empty port * 2. In SS Mode, port index is invalid if the embedded slot already has an active port * with different port index than the target port index. * 3. In DSDS mode, port index is invalid if the pSim slot is active and the embedded slot * already has an active empty port with different port index than the target port index. Loading src/java/com/android/internal/telephony/uicc/UiccSlot.java +2 −1 Original line number Diff line number Diff line Loading @@ -291,7 +291,8 @@ public class UiccSlot extends Handler { // even ATR suggest UICC supports multiple enabled profiles, MEP can be disabled per // carrier restrictions, so checking the real number of ports reported from modem is // necessary. return mPortIdxToPhoneId.size() > 1 && mAtr.isMultipleEnabledProfilesSupported(); return mPortIdxToPhoneId.size() > 1 && mAtr != null && mAtr.isMultipleEnabledProfilesSupported(); } private boolean absentStateUpdateNeeded(CardState oldState) { Loading Loading
src/java/com/android/internal/telephony/euicc/EuiccController.java +1 −1 Original line number Diff line number Diff line Loading @@ -1179,7 +1179,7 @@ public class EuiccController extends IEuiccController.Stub { /** * Returns true if the target port index is valid. * 1. Port index is valid if it is non-negative and less than the total port count. * 2. In SS Mode, port index is invalid if the embedded slot already has an active empty port * 2. In SS Mode, port index is invalid if the embedded slot already has an active port * with different port index than the target port index. * 3. In DSDS mode, port index is invalid if the pSim slot is active and the embedded slot * already has an active empty port with different port index than the target port index. Loading
src/java/com/android/internal/telephony/uicc/UiccSlot.java +2 −1 Original line number Diff line number Diff line Loading @@ -291,7 +291,8 @@ public class UiccSlot extends Handler { // even ATR suggest UICC supports multiple enabled profiles, MEP can be disabled per // carrier restrictions, so checking the real number of ports reported from modem is // necessary. return mPortIdxToPhoneId.size() > 1 && mAtr.isMultipleEnabledProfilesSupported(); return mPortIdxToPhoneId.size() > 1 && mAtr != null && mAtr.isMultipleEnabledProfilesSupported(); } private boolean absentStateUpdateNeeded(CardState oldState) { Loading