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

Commit 87c227b4 authored by HYUNG HEO's avatar HYUNG HEO Committed by Michael hyung heo
Browse files

Improve carrierconfig to support multisim in GsmCdmaCallTracker

Use subId to check below keys of carrierconfig in GsmCdmaCallTracker

KEY_CDMA_3WAYCALL_FLASH_DELAY_INT

Test: Manual
Change-Id: Ibb5b46da014952d993f34e409923dfe46fe8cd0f
parent a81aea4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -476,7 +476,7 @@ public class GsmCdmaCallTracker extends CallTracker {
            // Some networks need an empty flash before sending the normal one
            CarrierConfigManager configManager = (CarrierConfigManager)
                    mPhone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE);
            PersistableBundle bundle = configManager.getConfig();
            PersistableBundle bundle = configManager.getConfigForSubId(mPhone.getSubId());
            if (bundle != null) {
                m3WayCallFlashDelay =
                        bundle.getInt(CarrierConfigManager.KEY_CDMA_3WAYCALL_FLASH_DELAY_INT);