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

Commit 025e1e93 authored by Sandeep Gutta's avatar Sandeep Gutta
Browse files

Read network notification delay config based on subId

Read config property "network_notification_delay_int" based on
current subId instead of default subId.

Bug: 62007201
Change-Id: Ibdd30aa06902cf9e434d60266c9e0b3c5e5edf23
parent cfa72519
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ public class CarrierServiceStateTracker extends Handler {
        public void onReceive(Context context, Intent intent) {
            CarrierConfigManager carrierConfigManager = (CarrierConfigManager)
                    context.getSystemService(Context.CARRIER_CONFIG_SERVICE);
            PersistableBundle b = carrierConfigManager.getConfig();
            PersistableBundle b = carrierConfigManager.getConfigForSubId(mPhone.getSubId());
            mDelay = b.getInt(CarrierConfigManager.KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT);
            Rlog.i(LOG_TAG, "reading time to delay notification: " + mDelay);
            handleConfigChanges();