Restore incall view when click on menu icon

This commit is contained in:
Margaux Clerc 2014-08-19 11:17:58 +02:00
parent 8e2a1f5aa3
commit a5f8439a93

View file

@ -1272,6 +1272,12 @@ public class LinphoneActivity extends FragmentActivity implements
LinphoneCall.State callState = call.getState();
if (callState == State.IncomingReceived) {
startActivity(new Intent(this, IncomingCallActivity.class));
} else {
if (call.getCurrentParamsCopy().getVideoEnabled()) {
startVideoActivity(call);
} else {
startIncallActivity(call);
}
}
}
}