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

Commit 5160d525 authored by Hall Liu's avatar Hall Liu Committed by Gerrit Code Review
Browse files

Merge "Create RTT pipes for incoming RTT calls"

parents 808adcc2 3dbff518
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -964,10 +964,7 @@ public class CallsManager extends Call.ListenerBase
        if (isRttSettingOn() ||
                extras.getBoolean(TelecomManager.EXTRA_START_CALL_WITH_RTT, false)) {
            Log.i(this, "Incoming call requesting RTT, rtt setting is %b", isRttSettingOn());
            if (phoneAccount != null &&
                    phoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_RTT)) {
            call.createRttStreams();
            }
            // Even if the phone account doesn't support RTT yet, the connection manager might
            // change that. Set this to check it later.
            call.setRequestedToStartWithRtt();