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();
|
||||
}
|
||||
|
||||
public void startIncallActivity() {
|
||||
public synchronized void startIncallActivity() {
|
||||
if (IncallActivity.active) {
|
||||
return;
|
||||
}
|
||||
|
@ -458,6 +458,7 @@ public class LinphoneActivity extends TabActivity implements
|
|||
LinphoneActivity.this,
|
||||
IncallActivity.class),
|
||||
incall_activity);
|
||||
IncallActivity.active = true;
|
||||
}
|
||||
|
||||
public void startIncomingCallActivity(LinphoneCall pendingCall) {
|
||||
|
|
Loading…
Reference in a new issue