Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b216d8c authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Do not use SubscriptionManager.getSubId"

am: 12456b58

Change-Id: I74d529e874f57b4022287c0ff9bf5f56a3f7cb6f
parents 1949c883 12456b58
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -2244,11 +2244,7 @@ public class ServiceStateTracker extends Handler {
                showSpn = false;
            }

            int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
            int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId());
            if (subIds != null && subIds.length > 0) {
                subId = subIds[0];
            }
            int subId = mPhone.getSubId();

            // Update SPN_STRINGS_UPDATED_ACTION IFF any value changes
            if (mSubId != subId ||
@@ -2290,11 +2286,7 @@ public class ServiceStateTracker extends Handler {

            showPlmn = plmn != null;

            int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
            int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId());
            if (subIds != null && subIds.length > 0) {
                subId = subIds[0];
            }
            int subId = mPhone.getSubId();

            if (!TextUtils.isEmpty(plmn) && !TextUtils.isEmpty(wfcVoiceSpnFormat)) {
                // In Wi-Fi Calling mode show SPN+WiFi