From 4c6e9d010112460e68c38254b580fc390ce622c6 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 15 Apr 2013 10:40:55 +0200 Subject: [PATCH] Don't navigate to dialer before outgoing call --- src/org/linphone/LinphoneActivity.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/org/linphone/LinphoneActivity.java b/src/org/linphone/LinphoneActivity.java index bcf4a70d0..162e2fda8 100644 --- a/src/org/linphone/LinphoneActivity.java +++ b/src/org/linphone/LinphoneActivity.java @@ -855,12 +855,12 @@ public class LinphoneActivity extends FragmentActivity implements @Override public void setAddresGoToDialerAndCall(String number, String name, Uri photo) { - Bundle extras = new Bundle(); - extras.putString("SipUri", number); - extras.putString("DisplayName", name); - extras.putString("Photo", photo == null ? null : photo.toString()); - changeCurrentFragment(FragmentsAvailable.DIALER, extras); - +// Bundle extras = new Bundle(); +// extras.putString("SipUri", number); +// extras.putString("DisplayName", name); +// extras.putString("Photo", photo == null ? null : photo.toString()); +// changeCurrentFragment(FragmentsAvailable.DIALER, extras); + AddressType address = new AddressText(this, null); address.setDisplayedName(name); address.setText(number); @@ -1436,6 +1436,5 @@ public class LinphoneActivity extends FragmentActivity implements interface ContactPicked { void setAddresGoToDialerAndCall(String number, String name, Uri photo); - void goToDialer(); } \ No newline at end of file