diff options
| author | 2018-09-26 17:38:18 -0700 | |
|---|---|---|
| committer | 2018-09-26 17:54:06 -0700 | |
| commit | 137d35fa78e12397598c614d0bdbc84c4113359b (patch) | |
| tree | 11e9862b4cd59feb7866f9ef6e0e7504cf4ffac6 | |
| parent | fafc51a088392354a9c4ee383a6633840475c9d2 (diff) | |
Wire up the stopRtt API
Connect the implementation of the onStopRtt API in Connection to the one
in the IMS stack.
Bug: 116671810
Test: manual
Change-Id: Ia42e61cc1f11542ece8ffaa8d7e5714aea599a7f
| -rw-r--r-- | telephony/java/android/telephony/ims/ImsCallSession.java | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/telephony/java/android/telephony/ims/ImsCallSession.java b/telephony/java/android/telephony/ims/ImsCallSession.java index a20d4f5ad27b..df903cc270a2 100644 --- a/telephony/java/android/telephony/ims/ImsCallSession.java +++ b/telephony/java/android/telephony/ims/ImsCallSession.java @@ -16,22 +16,16 @@ package android.telephony.ims; -import android.annotation.CallbackExecutor; -import android.annotation.NonNull; -import android.annotation.SystemApi; import android.os.Message; import android.os.RemoteException; import android.telephony.ims.aidl.IImsCallSessionListener; - -import java.util.Objects; -import java.util.concurrent.Executor; - -import android.telephony.ims.stub.ImsCallSessionImplBase; import android.util.Log; import com.android.ims.internal.IImsCallSession; import com.android.ims.internal.IImsVideoCallProvider; +import java.util.Objects; + /** * Provides the call initiation/termination, and media exchange between two IMS endpoints. * It directly communicates with IMS service which implements the IMS protocol behavior. @@ -42,7 +36,8 @@ public class ImsCallSession { private static final String TAG = "ImsCallSession"; /** - * Defines IMS call session state. Please use {@link ImsCallSessionImplBase.State} definition. + * Defines IMS call session state. Please use + * {@link android.telephony.ims.stub.ImsCallSessionImplBase.State} definition. * This is kept around for capability reasons. */ public static class State { @@ -1027,9 +1022,9 @@ public class ImsCallSession { } /** - * Sends RTT Upgrade request + * Sends RTT Upgrade or downgrade request * - * @param to : expected profile + * @param to Profile with the RTT flag set to the desired value */ public void sendRttModifyRequest(ImsCallProfile to) { if (mClosed) { |