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

Commit 6a836a0b authored by Tyler Gunn's avatar Tyler Gunn
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.

Test: Manual
Merged-In: Ibe3dd360b65fac05812a6f73fb541cfb37c9500b
Change-Id: Ibe3dd360b65fac05812a6f73fb541cfb37c9500b
Bug: 63513900
(cherry picked from commit 0cdd5d55)
parent 359e1e69
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -168,6 +168,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;