Fix videoactivity not killed when call released
This commit is contained in:
parent
2449dc8635
commit
b0ba6158e4
1 changed files with 3 additions and 0 deletions
|
@ -340,6 +340,9 @@ public class VideoCallActivity extends Activity implements
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
|
if (!LinphoneManager.getLc().isIncall())
|
||||||
|
finish();
|
||||||
|
|
||||||
super.onResume();
|
super.onResume();
|
||||||
if (mVideoViewReady != null)
|
if (mVideoViewReady != null)
|
||||||
((GLSurfaceView) mVideoViewReady).onResume();
|
((GLSurfaceView) mVideoViewReady).onResume();
|
||||||
|
|
Loading…
Reference in a new issue