mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fix incoming call with a paused call
This commit is contained in:
parent
a7c918dec9
commit
4c324fbe2f
1 changed files with 3 additions and 2 deletions
|
|
@ -197,8 +197,9 @@ public class LinphoneActivity extends TabActivity implements
|
|||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
if (intent.getData() == null) {
|
||||
Log.i("LinphoneActivity received an intent without data, recreating GUI if needed");
|
||||
if (!LinphoneManager.getLc().isIncall()) return;
|
||||
Log.i("LinphoneActivity received an intent without data");
|
||||
// Ex: incoming call received
|
||||
if (LinphoneManager.getLc().getCallsNb() == 0) return;
|
||||
if(LinphoneManager.getLc().isInComingInvitePending()) {
|
||||
selectDialerTab();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue