Loading src/java/com/android/internal/telephony/SubscriptionController.java +6 −1 Original line number Diff line number Diff line Loading @@ -2399,7 +2399,12 @@ public class SubscriptionController extends ISub.Stub { simState = IccCardConstants.State.UNKNOWN; err = "invalid slotIndex"; } else { Phone phone = PhoneFactory.getPhone(slotIndex); Phone phone = null; try { phone = PhoneFactory.getPhone(slotIndex); } catch (IllegalStateException e) { // ignore } if (phone == null) { simState = IccCardConstants.State.UNKNOWN; err = "phone == null"; Loading Loading
src/java/com/android/internal/telephony/SubscriptionController.java +6 −1 Original line number Diff line number Diff line Loading @@ -2399,7 +2399,12 @@ public class SubscriptionController extends ISub.Stub { simState = IccCardConstants.State.UNKNOWN; err = "invalid slotIndex"; } else { Phone phone = PhoneFactory.getPhone(slotIndex); Phone phone = null; try { phone = PhoneFactory.getPhone(slotIndex); } catch (IllegalStateException e) { // ignore } if (phone == null) { simState = IccCardConstants.State.UNKNOWN; err = "phone == null"; Loading