From 4c324fbe2f362df0dad193c7fe50e02b2b9be7cf Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Mon, 28 Nov 2011 19:51:18 +0100 Subject: [PATCH] Fix incoming call with a paused call --- src/org/linphone/LinphoneActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/org/linphone/LinphoneActivity.java b/src/org/linphone/LinphoneActivity.java index 587945209..d377a3bf7 100644 --- a/src/org/linphone/LinphoneActivity.java +++ b/src/org/linphone/LinphoneActivity.java @@ -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 {