On incoming call don't go to dialer but start activity
This commit is contained in:
parent
4c324fbe2f
commit
0bd340cf60
1 changed files with 3 additions and 2 deletions
|
@ -201,14 +201,15 @@ public class LinphoneActivity extends TabActivity implements
|
|||
// Ex: incoming call received
|
||||
if (LinphoneManager.getLc().getCallsNb() == 0) return;
|
||||
if(LinphoneManager.getLc().isInComingInvitePending()) {
|
||||
selectDialerTab();
|
||||
startIncomingCallActivity();
|
||||
} else {
|
||||
startIncallActivity();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Log.i("LinphoneActivity received an intent with data");
|
||||
// Ex: calling from native phone
|
||||
if (DialerActivity.instance() != null) {
|
||||
DialerActivity.instance().newOutgoingCall(intent);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue