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

Commit d7681b33 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Get carrier config value by subId" am: 36bbab16

am: ab29eb9f

Change-Id: I73fac0b3122886cc477c3d4e2bcfc86f464f4748
parents c9cf7c8f ab29eb9f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -263,7 +263,8 @@ public final class CallLogManager extends CallsManagerListenerBase {
        boolean okToLogEmergencyNumber = false;
        CarrierConfigManager configManager = (CarrierConfigManager) mContext.getSystemService(
                Context.CARRIER_CONFIG_SERVICE);
        PersistableBundle configBundle = configManager.getConfig();
        PersistableBundle configBundle = configManager.getConfigForSubId(
                mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(accountHandle));
        if (configBundle != null) {
            okToLogEmergencyNumber = configBundle.getBoolean(
                    CarrierConfigManager.KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL);