diff --git a/src/org/linphone/VideoCallActivity.java b/src/org/linphone/VideoCallActivity.java index 780ec212b..8587af683 100755 --- a/src/org/linphone/VideoCallActivity.java +++ b/src/org/linphone/VideoCallActivity.java @@ -373,7 +373,7 @@ public class VideoCallActivity extends Activity implements if (mControlsLayout != null) mControlsLayout.setVisibility(View.GONE); - if (shouldRestartVideoOnResume) { + if (shouldRestartVideoOnResume && LinphoneManager.getLc().getCurrentCall() != null) { LinphoneManager.getLc().getCurrentCall().enableCamera(true); shouldRestartVideoOnResume = false; }