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

Commit 13320122 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Use new getRestrictCause API in ImsCallProfile"

am: 46f082ef

Change-Id: I7c1b80f6524d667be618a2a9d295fcecd34d1ca6
parents 386295e3 46f082ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1189,7 +1189,7 @@ public class ImsPhoneConnection extends Connection implements
                || localCallProfile.mMediaProfile.mAudioQuality
                        == ImsStreamMediaProfile.AUDIO_QUALITY_EVRC_WB
                || isEvsCodecHighDef)
                && remoteCallProfile.mRestrictCause == ImsCallProfile.CALL_RESTRICT_CAUSE_NONE;
                && remoteCallProfile.getRestrictCause() == ImsCallProfile.CALL_RESTRICT_CAUSE_NONE;
        return isHighDef ? AUDIO_QUALITY_HIGH_DEFINITION : AUDIO_QUALITY_STANDARD;
    }