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

Commit 6142ad67 authored by Rambo Wang's avatar Rambo Wang Committed by Automerger Merge Worker
Browse files

Merge "Ignore updateCarrierService request with invalid phoneId" am:...

Merge "Ignore updateCarrierService request with invalid phoneId" am: 712c2169 am: a91ad67c am: bb05e45c am: 41efd876 am: e6d70c35

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1763682

Change-Id: Ibbf49e74e074a9acb1fe7e53dac97611448eec43
parents 9e3b534c e6d70c35
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -624,6 +624,10 @@ public class SubscriptionInfoUpdater extends Handler {
    }

    private void updateCarrierServices(int phoneId, String simState) {
        if (!SubscriptionManager.isValidPhoneId(phoneId)) {
            logd("Ignore updateCarrierServices request with invalid phoneId " + phoneId);
            return;
        }
        CarrierConfigManager configManager =
                (CarrierConfigManager) sContext.getSystemService(Context.CARRIER_CONFIG_SERVICE);
        configManager.updateConfigForPhoneId(phoneId, simState);