Start incall activity in new task
This commit is contained in:
parent
02ae758766
commit
4dd6039be3
1 changed files with 2 additions and 1 deletions
|
@ -450,7 +450,7 @@ public class LinphoneActivity extends TabActivity implements
|
||||||
LinphoneManager.getInstance().routeAudioToSpeaker();
|
LinphoneManager.getInstance().routeAudioToSpeaker();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void startIncallActivity() {
|
public synchronized void startIncallActivity() {
|
||||||
if (IncallActivity.active) {
|
if (IncallActivity.active) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -458,6 +458,7 @@ public class LinphoneActivity extends TabActivity implements
|
||||||
LinphoneActivity.this,
|
LinphoneActivity.this,
|
||||||
IncallActivity.class),
|
IncallActivity.class),
|
||||||
incall_activity);
|
incall_activity);
|
||||||
|
IncallActivity.active = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void startIncomingCallActivity(LinphoneCall pendingCall) {
|
public void startIncomingCallActivity(LinphoneCall pendingCall) {
|
||||||
|
|
Loading…
Reference in a new issue