diff options
Diffstat (limited to 'java/com/android/incallui/videotech/ims/ImsVideoTech.java')
-rw-r--r-- | java/com/android/incallui/videotech/ims/ImsVideoTech.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/android/incallui/videotech/ims/ImsVideoTech.java b/java/com/android/incallui/videotech/ims/ImsVideoTech.java index c4c177f39..d35c5ef61 100644 --- a/java/com/android/incallui/videotech/ims/ImsVideoTech.java +++ b/java/com/android/incallui/videotech/ims/ImsVideoTech.java @@ -308,6 +308,10 @@ public class ImsVideoTech implements VideoTech { @Override public void setCamera(@Nullable String cameraId) { savedCameraId = cameraId; + if (call.getVideoCall() == null) { + LogUtil.w("ImsVideoTech.setCamera", "video call no longer exist"); + return; + } call.getVideoCall().setCamera(cameraId); call.getVideoCall().requestCameraCapabilities(); } |