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

Commit 3c9386d2 authored by Ravi Paluri's avatar Ravi Paluri Committed by Gerrit - the friendly Code Review server
Browse files

Ims: Detach disconnected connections from its parent

Detach disconnected connections from its parent once
the call is ended

Change-Id: Id9cecf65791cc8a1d3773d54d3eb0e5962f9e953
CRs-Fixed: 767825
parent 4f6888de
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -958,6 +958,8 @@ public final class ImsPhoneCallTracker extends CallTracker {

        if (state == ImsPhoneCall.State.DISCONNECTED) {
            changed = conn.onDisconnect(cause) || changed;
            //detach the disconnected connections
            conn.getCall().detach(conn);
            removeConnection(conn);
        }