Fix FC on video if not correct user behaviour
This commit is contained in:
parent
4f69fd8b93
commit
38fb39320b
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ public class VideoCallActivity extends Activity implements
|
||||||
if (mControlsLayout != null)
|
if (mControlsLayout != null)
|
||||||
mControlsLayout.setVisibility(View.GONE);
|
mControlsLayout.setVisibility(View.GONE);
|
||||||
|
|
||||||
if (shouldRestartVideoOnResume) {
|
if (shouldRestartVideoOnResume && LinphoneManager.getLc().getCurrentCall() != null) {
|
||||||
LinphoneManager.getLc().getCurrentCall().enableCamera(true);
|
LinphoneManager.getLc().getCurrentCall().enableCamera(true);
|
||||||
shouldRestartVideoOnResume = false;
|
shouldRestartVideoOnResume = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue