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

Commit 562c0761 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "IMS-VT: Multitasking feature"

parents a82f430b 10a251b9
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -135,8 +135,7 @@ public class ImsPhoneConnection extends Connection {

            ImsCallProfile imsCallProfile = imsCall.getCallProfile();
            if (imsCallProfile != null) {
                int callType = imsCall.getCallProfile().mCallType;
                setVideoState(ImsCallProfile.getVideoStateFromCallType(callType));
                setVideoState(ImsCallProfile.getVideoStateFromImsCallProfile(imsCallProfile));

                ImsStreamMediaProfile mediaProfile = imsCallProfile.mMediaProfile;
                if (mediaProfile != null) {
@@ -685,7 +684,7 @@ public class ImsPhoneConnection extends Connection {
            ImsCallProfile callProfile = imsCall.getCallProfile();
            if (callProfile != null) {
                int oldVideoState = getVideoState();
                int newVideoState = ImsCallProfile.getVideoStateFromCallType(callProfile.mCallType);
                int newVideoState = ImsCallProfile.getVideoStateFromImsCallProfile(callProfile);

                if (oldVideoState != newVideoState) {
                    setVideoState(newVideoState);