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

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

Merge "Query updatedImsCallProfile when callSessionProgressing is called." am:...

Merge "Query updatedImsCallProfile when callSessionProgressing is called." am: aa2ba2b1 am: bbd77ad8 am: 1c83962c am: 318b8d93

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

Change-Id: I60b7876ac65bed37988efa543a740c3b2e10fbe1
parents b6174a9b 318b8d93
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2406,9 +2406,13 @@ public class ImsCall implements ICall {

            ImsCall.Listener listener;

            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);
            }

            if (listener != null) {