Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +14 −6 Original line number Diff line number Diff line Loading @@ -613,9 +613,23 @@ public class ImsPhoneConnection extends Connection { boolean changed = false; try { // The actual call profile (negotiated between local and peer). ImsCallProfile negotiatedCallProfile = imsCall.getCallProfile(); // The capabilities of the local device. ImsCallProfile localCallProfile = imsCall.getLocalCallProfile(); // The capabilities of the peer device. ImsCallProfile remoteCallProfile = imsCall.getRemoteCallProfile(); if (negotiatedCallProfile != null) { int callType = negotiatedCallProfile.mCallType; int newVideoState = ImsCallProfile.getVideoStateFromCallType(callType); if (getVideoState() != newVideoState) { setVideoState(newVideoState); changed = true; } } if (localCallProfile != null) { int callType = localCallProfile.mCallType; Loading @@ -624,12 +638,6 @@ public class ImsPhoneConnection extends Connection { setLocalVideoCapable(newLocalVideoCapable); changed = true; } int newVideoState = ImsCallProfile.getVideoStateFromCallType(callType); if (getVideoState() != newVideoState) { setVideoState(newVideoState); changed = true; } } int newAudioQuality = Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +14 −6 Original line number Diff line number Diff line Loading @@ -613,9 +613,23 @@ public class ImsPhoneConnection extends Connection { boolean changed = false; try { // The actual call profile (negotiated between local and peer). ImsCallProfile negotiatedCallProfile = imsCall.getCallProfile(); // The capabilities of the local device. ImsCallProfile localCallProfile = imsCall.getLocalCallProfile(); // The capabilities of the peer device. ImsCallProfile remoteCallProfile = imsCall.getRemoteCallProfile(); if (negotiatedCallProfile != null) { int callType = negotiatedCallProfile.mCallType; int newVideoState = ImsCallProfile.getVideoStateFromCallType(callType); if (getVideoState() != newVideoState) { setVideoState(newVideoState); changed = true; } } if (localCallProfile != null) { int callType = localCallProfile.mCallType; Loading @@ -624,12 +638,6 @@ public class ImsPhoneConnection extends Connection { setLocalVideoCapable(newLocalVideoCapable); changed = true; } int newVideoState = ImsCallProfile.getVideoStateFromCallType(callType); if (getVideoState() != newVideoState) { setVideoState(newVideoState); changed = true; } } int newAudioQuality = Loading