Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +14 −2 Original line number Diff line number Diff line Loading @@ -981,14 +981,26 @@ public class ImsPhoneConnection extends Connection implements setVideoState(newVideoState); } public void sendRttModifyRequest(android.telecom.Connection.RttTextStream textStream) { /** * Send a RTT upgrade request to the remote party. * @param textStream RTT text stream to use */ public void startRtt(android.telecom.Connection.RttTextStream textStream) { ImsCall imsCall = getImsCall(); if (imsCall != null) { getImsCall().sendRttModifyRequest(); getImsCall().sendRttModifyRequest(true); setCurrentRttTextStream(textStream); } } /** * Terminate the current RTT session. */ public void stopRtt() { getImsCall().sendRttModifyRequest(false); } /** * Sends the user's response to a remotely-issued RTT upgrade request * Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +14 −2 Original line number Diff line number Diff line Loading @@ -981,14 +981,26 @@ public class ImsPhoneConnection extends Connection implements setVideoState(newVideoState); } public void sendRttModifyRequest(android.telecom.Connection.RttTextStream textStream) { /** * Send a RTT upgrade request to the remote party. * @param textStream RTT text stream to use */ public void startRtt(android.telecom.Connection.RttTextStream textStream) { ImsCall imsCall = getImsCall(); if (imsCall != null) { getImsCall().sendRttModifyRequest(); getImsCall().sendRttModifyRequest(true); setCurrentRttTextStream(textStream); } } /** * Terminate the current RTT session. */ public void stopRtt() { getImsCall().sendRttModifyRequest(false); } /** * Sends the user's response to a remotely-issued RTT upgrade request * Loading