Don't navigate to dialer before outgoing call
This commit is contained in:
parent
2a6740b85d
commit
4c6e9d0101
1 changed files with 6 additions and 7 deletions
|
@ -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();
|
||||
}
|
Loading…
Reference in a new issue