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

Commit 46d25cf0 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android Partner Code Review
Browse files

Merge "Unregister for CallWaitingInfo on switching from CDMA to GSM." into mm-wireless-dev

parents b6514b21 5f6ea8a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ public class GsmCdmaCallTracker extends CallTracker {
    public void updatePhoneType() {
        if (mPhone.isPhoneTypeGsm()) {
            mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM];
            mCi.unregisterForCallWaitingInfo(this);
            mPhone.getContext().unregisterReceiver(mEcmExitReceiver);
        } else {
            mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA];