Don't navigate to dialer before outgoing call

This commit is contained in:
Sylvain Berfini 2013-04-15 10:40:55 +02:00
parent 2a6740b85d
commit 4c6e9d0101

View file

@ -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();
}