Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +2 −3 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading @@ -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); Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +2 −3 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading @@ -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); Loading