Loading telephony/java/android/telephony/TelephonyManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -3483,7 +3483,8 @@ public class TelephonyManager { */ private int getLogicalSlotIndex(int physicalSlotIndex) { UiccSlotInfo[] slotInfos = getUiccSlotsInfo(); if (slotInfos != null && physicalSlotIndex >= 0 && physicalSlotIndex < slotInfos.length) { if (slotInfos != null && physicalSlotIndex >= 0 && physicalSlotIndex < slotInfos.length && slotInfos[physicalSlotIndex] != null) { return slotInfos[physicalSlotIndex].getLogicalSlotIdx(); } Loading Loading
telephony/java/android/telephony/TelephonyManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -3483,7 +3483,8 @@ public class TelephonyManager { */ private int getLogicalSlotIndex(int physicalSlotIndex) { UiccSlotInfo[] slotInfos = getUiccSlotsInfo(); if (slotInfos != null && physicalSlotIndex >= 0 && physicalSlotIndex < slotInfos.length) { if (slotInfos != null && physicalSlotIndex >= 0 && physicalSlotIndex < slotInfos.length && slotInfos[physicalSlotIndex] != null) { return slotInfos[physicalSlotIndex].getLogicalSlotIdx(); } Loading