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

Commit 0248af0b authored by Amit Mahajan's avatar Amit Mahajan Committed by android-build-merger
Browse files

Merge "Move refreshCachedActiveSubscriptionInfoList to correct place."

am: c7698b4a

Change-Id: I906eef0656905039b799673debac670733ef6c82
parents dbdd5187 c7698b4a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1093,9 +1093,6 @@ public class SubscriptionController extends ISub.Stub {
                        if (value.size() > 0) {
                            resolver.update(SubscriptionManager.getUriForSubscriptionId(subId),
                                    value, null, null);

                            // Refresh the Cache of Active Subscription Info List
                            refreshCachedActiveSubscriptionInfoList();
                        }

                        if (DBG) logdl("[addSubInfoRecord] Record already exists");
@@ -1178,8 +1175,11 @@ public class SubscriptionController extends ISub.Stub {
                }
            }

            if (isSubscriptionForRemoteSim(subscriptionType)) {
            // Refresh the Cache of Active Subscription Info List. This should be done after
            // updating sSlotIndexToSubIds which is done through addToSubIdList() above.
            refreshCachedActiveSubscriptionInfoList();

            if (isSubscriptionForRemoteSim(subscriptionType)) {
                notifySubscriptionInfoChanged();
            } else {  // Handle Local SIM devices
                // Set Display name after sub id is set above so as to get valid simCarrierName