Loading src/com/android/settings/sim/CallsSimListDialogFragment.java +1 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,7 @@ public class CallsSimListDialogFragment extends SimListDialogFragment { return result; } for (PhoneAccountHandle handle : phoneAccounts) { final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); final int subId = telephonyManager.getSubIdForPhoneAccount(phoneAccount); final int subId = telephonyManager.getSubscriptionId(handle); if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { continue; Loading src/com/android/settings/sim/SimDialogActivity.java +1 −2 Original line number Diff line number Diff line Loading @@ -176,8 +176,7 @@ public class SimDialogActivity extends FragmentActivity { final TelephonyManager telephonyManager = getSystemService(TelephonyManager.class); for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); if (subId == telephonyManager.getSubIdForPhoneAccount(phoneAccount)) { if (subId == telephonyManager.getSubscriptionId(handle)) { return handle; } } Loading Loading
src/com/android/settings/sim/CallsSimListDialogFragment.java +1 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,7 @@ public class CallsSimListDialogFragment extends SimListDialogFragment { return result; } for (PhoneAccountHandle handle : phoneAccounts) { final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); final int subId = telephonyManager.getSubIdForPhoneAccount(phoneAccount); final int subId = telephonyManager.getSubscriptionId(handle); if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { continue; Loading
src/com/android/settings/sim/SimDialogActivity.java +1 −2 Original line number Diff line number Diff line Loading @@ -176,8 +176,7 @@ public class SimDialogActivity extends FragmentActivity { final TelephonyManager telephonyManager = getSystemService(TelephonyManager.class); for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); if (subId == telephonyManager.getSubIdForPhoneAccount(phoneAccount)) { if (subId == telephonyManager.getSubscriptionId(handle)) { return handle; } } Loading