Update incall conf ui when pausing/leaving conference.
This commit is contained in:
parent
b95b61344c
commit
3445cd7de5
1 changed files with 6 additions and 2 deletions
|
@ -81,8 +81,12 @@ public class IncallActivity extends AbstractCalleesActivity implements
|
||||||
|
|
||||||
private void pauseCurrentCallOrLeaveConference() {
|
private void pauseCurrentCallOrLeaveConference() {
|
||||||
LinphoneCall call = lc().getCurrentCall();
|
LinphoneCall call = lc().getCurrentCall();
|
||||||
if (call != null) lc().pauseCall(call);
|
if (call != null && !call.isInConference()) {
|
||||||
|
lc().pauseCall(call);
|
||||||
|
} else {
|
||||||
lc().leaveConference();
|
lc().leaveConference();
|
||||||
|
updateConfItem();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private View mConferenceVirtualCallee;
|
private View mConferenceVirtualCallee;
|
||||||
|
|
Loading…
Reference in a new issue