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

Commit 33ab9418 authored by Sandeep Kunta's avatar Sandeep Kunta Committed by Linux Build Service Account
Browse files

MSIM: Fix ECBM dialog issue in G+C

Fix ECBM dialog issue by setting ECM mode property value
 as single SIM instead of comma separation in MSIM.

Change-Id: I7bb3c169dc0e0216afbf773236e4d08fda33a0c0
CRs-Fixed: 732984
parent bfccc4c9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1142,7 +1142,7 @@ public class CDMAPhone extends PhoneBase {
            mIsPhoneInEcmState = true;
            // notify change
            sendEmergencyCallbackModeChange();
            setSystemProperty(TelephonyProperties.PROPERTY_INECM_MODE, "true");
            super.setSystemProperty(TelephonyProperties.PROPERTY_INECM_MODE, "true");

            // Post this runnable so we will automatically exit
            // if no one invokes exitEmergencyCallbackMode() directly.
@@ -1170,7 +1170,7 @@ public class CDMAPhone extends PhoneBase {
        if (ar.exception == null) {
            if (mIsPhoneInEcmState) {
                mIsPhoneInEcmState = false;
                setSystemProperty(TelephonyProperties.PROPERTY_INECM_MODE, "false");
                super.setSystemProperty(TelephonyProperties.PROPERTY_INECM_MODE, "false");
            }
            // send an Intent
            sendEmergencyCallbackModeChange();