Restore incall view when click on menu icon
This commit is contained in:
parent
8e2a1f5aa3
commit
a5f8439a93
1 changed files with 7 additions and 1 deletions
|
@ -1272,6 +1272,12 @@ public class LinphoneActivity extends FragmentActivity implements
|
||||||
LinphoneCall.State callState = call.getState();
|
LinphoneCall.State callState = call.getState();
|
||||||
if (callState == State.IncomingReceived) {
|
if (callState == State.IncomingReceived) {
|
||||||
startActivity(new Intent(this, IncomingCallActivity.class));
|
startActivity(new Intent(this, IncomingCallActivity.class));
|
||||||
|
} else {
|
||||||
|
if (call.getCurrentParamsCopy().getVideoEnabled()) {
|
||||||
|
startVideoActivity(call);
|
||||||
|
} else {
|
||||||
|
startIncallActivity(call);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue