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

Commit b4b90508 authored by Hall Liu's avatar Hall Liu
Browse files

Send pipes to connection service when RTT changes

When the ConnectionService turns on the RTT property unexpectedly, call
startRtt to pass down the RTT pipes.

Bug: 80257914
Test: manual
Change-Id: I1882a867812eb83dd915ede6d8391231113dec08
parent a1c2f7f6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1457,6 +1457,10 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
            if ((mConnectionProperties & Connection.PROPERTY_IS_RTT) ==
                    Connection.PROPERTY_IS_RTT) {
                createRttStreams();
                // Call startRtt to pass the RTT pipes down to the connection service.
                // They already turned on the RTT property so no request should be sent.
                mConnectionService.startRtt(this,
                        getInCallToCsRttPipeForCs(), getCsToInCallRttPipeForCs());
                mWasEverRtt = true;
                if (isEmergencyCall()) {
                    mCallsManager.setAudioRoute(CallAudioState.ROUTE_SPEAKER, null);