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

Commit 5f6ea8a0 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Unregister for CallWaitingInfo on switching from CDMA to GSM.

This is to avoid second registration which happens without this
change on switching back to CDMA.

Bug: 25871221
Change-Id: Ibd303efb1e5dd8969a7572200c18a63f2a776cf8
parent aeff8257
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];