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

Commit 38bb5c6e authored by Taesu Lee's avatar Taesu Lee Committed by android-build-merger
Browse files

Merge "Use SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED instead"...

Merge "Use SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED instead" am: 1ef66cc3 am: f0a795d0
am: 2383a143

Change-Id: Ibd3bdb8d728b8c21eb330b48f612856b6a4e05ad
parents 4bdaa7a7 2383a143
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2395,7 +2395,7 @@ public class SubscriptionController extends ISub.Stub {
    public void sendDefaultChangedBroadcast(int subId) {
        // Broadcast an Intent for default sub change
        int phoneId = SubscriptionManager.getPhoneId(subId);
        Intent intent = new Intent(TelephonyIntents.ACTION_DEFAULT_SUBSCRIPTION_CHANGED);
        Intent intent = new Intent(SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING
                | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
        SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId, subId);