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

Commit 0a4cea0b authored by Xiangyu/Malcolm Chen's avatar Xiangyu/Malcolm Chen Committed by android-build-merger
Browse files

Merge "Fix bug of default data / voice / sms sub is cleared unexpectedly."

am: 24640f8f

Change-Id: Ia6c3778fb5e07dd2e79fc93f13505e8c50b70f9a
parents 8bad3d99 24640f8f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1325,9 +1325,6 @@ public class SubscriptionController extends ISub.Stub {
        refreshCachedActiveSubscriptionInfoList();

        sSlotIndexToSubIds.remove(slotIndex);

        // update default subId
        clearDefaultsForInactiveSubIds();
    }

    /**
+3 −0
Original line number Diff line number Diff line
@@ -603,6 +603,9 @@ public class SubscriptionInfoUpdater extends Handler {
            }
        }

        // update default subId
        SubscriptionController.getInstance().clearDefaultsForInactiveSubIds();

        SubscriptionController.getInstance().notifySubscriptionInfoChanged();
        logd("updateSubscriptionInfoByIccId:- SubscriptionInfo update complete");
    }