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

Commit 273fdad8 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android (Google) Code Review
Browse files

Merge "Move refreshCachedActiveSubscriptionInfoList to correct place." into qt-dev

parents 24704884 fea9bd5f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1091,9 +1091,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");
@@ -1176,8 +1173,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