Loading src/java/com/android/internal/telephony/uicc/UiccController.java +2 −2 Original line number Diff line number Diff line Loading @@ -1665,7 +1665,7 @@ public class UiccController extends Handler { } private boolean isValidPhoneIndex(int index) { return (index >= 0 && index < TelephonyManager.getDefault().getPhoneCount()); return (index >= 0 && index < mTelephonyManager.getActiveModemCount()); } private boolean isValidSlotIndex(int index) { Loading @@ -1673,7 +1673,7 @@ public class UiccController extends Handler { } private boolean isShuttingDown() { for (int i = 0; i < TelephonyManager.getDefault().getActiveModemCount(); i++) { for (int i = 0; i < mTelephonyManager.getActiveModemCount(); i++) { if (PhoneFactory.getPhone(i) != null && PhoneFactory.getPhone(i).isShuttingDown()) { return true; Loading Loading
src/java/com/android/internal/telephony/uicc/UiccController.java +2 −2 Original line number Diff line number Diff line Loading @@ -1665,7 +1665,7 @@ public class UiccController extends Handler { } private boolean isValidPhoneIndex(int index) { return (index >= 0 && index < TelephonyManager.getDefault().getPhoneCount()); return (index >= 0 && index < mTelephonyManager.getActiveModemCount()); } private boolean isValidSlotIndex(int index) { Loading @@ -1673,7 +1673,7 @@ public class UiccController extends Handler { } private boolean isShuttingDown() { for (int i = 0; i < TelephonyManager.getDefault().getActiveModemCount(); i++) { for (int i = 0; i < mTelephonyManager.getActiveModemCount(); i++) { if (PhoneFactory.getPhone(i) != null && PhoneFactory.getPhone(i).isShuttingDown()) { return true; Loading