Fix FC on video if not correct user behaviour

This commit is contained in:
Sylvain Berfini 2012-05-15 15:35:37 +02:00
parent 4f69fd8b93
commit 38fb39320b

View file

@ -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;
}