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

Commit ccb453dd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix RTT property setting"

parents 48e0d450 06a0852b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2670,10 +2670,6 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
            ImsPhoneConnection conn = findConnection(imsCall);
            if (conn != null) {
                conn.onRttModifyResponseReceived(status);
                if (status ==
                        android.telecom.Connection.RttModifyStatus.SESSION_MODIFY_REQUEST_SUCCESS) {
                    conn.startRttTextProcessing();
                }
            }
        }

+2 −3
Original line number Diff line number Diff line
@@ -33,12 +33,12 @@ import android.telephony.DisconnectCause;
import android.telephony.PhoneNumberUtils;
import android.telephony.Rlog;
import android.telephony.ServiceState;
import android.telephony.ims.ImsCallProfile;
import android.telephony.ims.ImsStreamMediaProfile;
import android.text.TextUtils;

import com.android.ims.ImsCall;
import android.telephony.ims.ImsCallProfile;
import com.android.ims.ImsException;
import android.telephony.ims.ImsStreamMediaProfile;
import com.android.ims.internal.ImsVideoCallProviderWrapper;
import com.android.internal.telephony.CallStateException;
import com.android.internal.telephony.Connection;
@@ -985,7 +985,6 @@ public class ImsPhoneConnection extends Connection implements
        imsCall.sendRttModifyResponse(accept);
        if (accept) {
            setCurrentRttTextStream(textStream);
            startRttTextProcessing();
        } else {
            Rlog.e(LOG_TAG, "sendRttModifyResponse: foreground call has no connections");
        }