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

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

Merge "Apply MediaProfile change to newly set ImsCallProfile" am: 5a04f796...

Merge "Apply MediaProfile change to newly set ImsCallProfile" am: 5a04f796 am: 27e02b9b am: db6bcf55

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/1451238

Change-Id: I821d0b70152e852d20e717e2929c2fc56c0090b9
parents fe256cfd db6bcf55
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) {