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

Commit 22965271 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Change to not unregister CallTracker for callStateChange on switching RAT

Bug: 25836165
Change-Id: I21c61c3152762585afd9ba0c5c06a48a6381c943
parent 3a96b0ee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -153,8 +153,6 @@ public class GsmCdmaCallTracker extends CallTracker {
    void init(int phoneType) {
        if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
            mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_GSM];
            mCi.unregisterForCallStateChanged(this);

            mPhone.getContext().unregisterReceiver(mEcmExitReceiver);
        } else {
            mConnections = new GsmCdmaConnection[MAX_CONNECTIONS_CDMA];