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

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

Merge "Apply MediaProfile change to newly set ImsCallProfile"

parents 80478ea7 dc0b8fcf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2409,10 +2409,12 @@ public class ImsCall implements ICall {
            ImsCallProfile updatedProfile = session.getCallProfile();
            synchronized(ImsCall.this) {
                listener = mListener;
                mCallProfile.mMediaProfile.copyFrom(profile);
                // The ImsCallProfile may have updated here (for example call state change). Query
                // the potentially updated call profile to pick up these changes.
                setCallProfile(updatedProfile);
                // Apply the new mediaProfile on top of the Call Profile so it is not ignored in
                // case the ImsService has not had a chance to update it yet.
                mCallProfile.mMediaProfile.copyFrom(profile);
            }

            if (listener != null) {