Fix back action on videoActivity
This commit is contained in:
parent
5667cb8ba3
commit
ac0b186775
1 changed files with 6 additions and 1 deletions
|
@ -380,8 +380,13 @@ public class VideoCallActivity extends Activity implements
|
|||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
if (LinphoneUtils.onKeyVolumeSoftAdjust(keyCode))
|
||||
return true;
|
||||
if (Version.isXLargeScreen(this) && LinphoneUtils.onKeyBackGoHome(this, keyCode, event))
|
||||
if (Version.isXLargeScreen(this) && LinphoneUtils.onKeyBackGoHome(this, keyCode, event)) {
|
||||
return true;
|
||||
} else if (!Version.isXLargeScreen(this)) {
|
||||
LinphoneActivity.instance().startIncallActivity();
|
||||
finish();
|
||||
return true;
|
||||
}
|
||||
return super.onKeyDown(keyCode, event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue