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

Commit 5ceae7bb authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Send event when handover source disconnects prior to acceptance of handover. am: 845a677c

am: f29eac59

Change-Id: Ic25a4faa740672761e32488ce1467d03cd744b91
parents dafb42f3 f29eac59
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2261,6 +2261,10 @@ public class CallsManager extends Call.ListenerBase
            if (handoverState == HandoverState.HANDOVER_FROM_STARTED) {
                // Disconnect before handover was accepted.
                Log.i(this, "setCallState: disconnect before handover accepted");
                // Let the handover destination know that the source has disconnected prior to
                // completion of the handover.
                call.getHandoverDestinationCall().sendCallEvent(
                        android.telecom.Call.EVENT_HANDOVER_SOURCE_DISCONNECTED, null);
            } else if (handoverState == HandoverState.HANDOVER_ACCEPTED) {
                Log.i(this, "setCallState: handover from complete");
                completeHandoverFrom(call);