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

Commit 1f829833 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Send Disconnect on Pending Calls when switching Phone Type

When switching CallTracker technology we must also call
onDisconnect on the pending MO call or it will never be
cleaned up.

Bug: 109850445
Bug: 110235586
Test: Manual
Change-Id: Ica5e6e1fe1bfc9bb37cfdc13428dcf25560d8867
parent 19ffee6d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -197,6 +197,8 @@ public class GsmCdmaCallTracker extends CallTracker {
        }

        if (mPendingMO != null) {
            // Send the notification that the pending call was disconnected to the higher layers.
            mPendingMO.onDisconnect(DisconnectCause.ERROR_UNSPECIFIED);
            mPendingMO.dispose();
        }