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

Commit 925b6c66 authored by Srikanth Chintala's avatar Srikanth Chintala
Browse files

Enable data after phone switches from CDMA to GSM

Before initiating emergency call on CDMA
phone data will be disabled, if while in
emergency call phone switches from
CDMA to GSM then data will be diabled state
after ending call data will not enable since
phone already switched to GSM.

Enable data when phone switches to GSM while in
emergency call.

Bug: 63513900
Change-Id: Ia5cbe19bffdf4692347fed20bfadcad3ff780ac9
parent 39443c82
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -166,6 +166,11 @@ public class GsmCdmaCallTracker extends CallTracker {
        if (mPhone.isPhoneTypeGsm()) {
            mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM];
            mCi.unregisterForCallWaitingInfo(this);
            // Prior to phone switch to GSM, if CDMA has any emergency call
            // data will be in disabled state, after switching to GSM enable data.
            if (mIsInEmergencyCall) {
                mPhone.mDcTracker.setInternalDataEnabled(true);
            }
        } else {
            mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA];
            mPendingCallInEcm = false;