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

Commit 97ef64d6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert "Support Voice Clear Code for VoLTE"" am: 28bbc318 am: a1f536d9

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1421948

Change-Id: I9dd4da45e740757cc628f6fa5bad11abf404556d
parents 55373fc1 a1f536d9
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2968,10 +2968,6 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                }
            }

            if (conn != null) {
                conn.onRemoteDisconnect(reasonInfo.getExtraMessage());
            }

            if (mHoldSwitchingState == HoldSwapState.SWAPPING_ACTIVE_AND_HELD) {
                if (DBG) {
                    log("onCallTerminated: Call terminated in the midst of Switching " +
@@ -3769,9 +3765,6 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
            callState = Call.State.DIALING;
        }
        int cause = getDisconnectCauseFromReasonInfo(reasonInfo, callState);
        if (conn != null) {
            conn.onRemoteDisconnect(reasonInfo.getExtraMessage());
        }

        processCallStateChange(imsCall, ImsPhoneCall.State.DISCONNECTED, cause);

+1 −9
Original line number Diff line number Diff line
@@ -124,8 +124,6 @@ public class ImsPhoneConnection extends Connection implements
     */
    private boolean mIsMergeInProcess = false;

    private String mVendorCause;

    /**
     * Used as an override to determine whether video is locally available for this call.
     * This allows video availability to be overridden in the case that the modem says video is
@@ -392,7 +390,7 @@ public class ImsPhoneConnection extends Connection implements

    @Override
    public String getVendorDisconnectCause() {
      return mVendorCause;
      return null;
    }

    @UnsupportedAppUsage
@@ -515,7 +513,6 @@ public class ImsPhoneConnection extends Connection implements
    void
    onHangupLocal() {
        mCause = DisconnectCause.LOCAL;
        mVendorCause = null;
    }

    /** Called when the connection has been disconnected */
@@ -562,11 +559,6 @@ public class ImsPhoneConnection extends Connection implements
        return changed;
    }

    void
    onRemoteDisconnect(String vendorCause) {
        this.mVendorCause = vendorCause;
    }

    /**
     * An incoming or outgoing call has connected
     */