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

Commit 2d82493d authored by Hall Liu's avatar Hall Liu Committed by Gerrit Code Review
Browse files

Merge "Wire up the stopRtt API"

parents 66a08997 137d35fa
Loading
Loading
Loading
Loading
+6 −11
Original line number Diff line number Diff line
@@ -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) {