From b0ba6158e41af0005f026b6dfc2d9223b8311ef0 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 24 May 2012 16:05:39 +0200 Subject: [PATCH] Fix videoactivity not killed when call released --- src/org/linphone/VideoCallActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/linphone/VideoCallActivity.java b/src/org/linphone/VideoCallActivity.java index 8587af683..96f01a8ef 100755 --- a/src/org/linphone/VideoCallActivity.java +++ b/src/org/linphone/VideoCallActivity.java @@ -340,6 +340,9 @@ public class VideoCallActivity extends Activity implements @Override protected void onResume() { + if (!LinphoneManager.getLc().isIncall()) + finish(); + super.onResume(); if (mVideoViewReady != null) ((GLSurfaceView) mVideoViewReady).onResume();