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

Commit 48dc5a3b authored by Hall Liu's avatar Hall Liu Committed by Android (Google) Code Review
Browse files

Merge "Send pipes to connection service when RTT changes" into pi-dev

parents 7dfa2ab2 e15f6284
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1456,6 +1456,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);