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,11 +855,11 @@ public class LinphoneActivity extends FragmentActivity implements
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setAddresGoToDialerAndCall(String number, String name, Uri photo) {
|
public void setAddresGoToDialerAndCall(String number, String name, Uri photo) {
|
||||||
Bundle extras = new Bundle();
|
// Bundle extras = new Bundle();
|
||||||
extras.putString("SipUri", number);
|
// extras.putString("SipUri", number);
|
||||||
extras.putString("DisplayName", name);
|
// extras.putString("DisplayName", name);
|
||||||
extras.putString("Photo", photo == null ? null : photo.toString());
|
// extras.putString("Photo", photo == null ? null : photo.toString());
|
||||||
changeCurrentFragment(FragmentsAvailable.DIALER, extras);
|
// changeCurrentFragment(FragmentsAvailable.DIALER, extras);
|
||||||
|
|
||||||
AddressType address = new AddressText(this, null);
|
AddressType address = new AddressText(this, null);
|
||||||
address.setDisplayedName(name);
|
address.setDisplayedName(name);
|
||||||
|
@ -1436,6 +1436,5 @@ public class LinphoneActivity extends FragmentActivity implements
|
||||||
|
|
||||||
interface ContactPicked {
|
interface ContactPicked {
|
||||||
void setAddresGoToDialerAndCall(String number, String name, Uri photo);
|
void setAddresGoToDialerAndCall(String number, String name, Uri photo);
|
||||||
|
|
||||||
void goToDialer();
|
void goToDialer();
|
||||||
}
|
}
|
Loading…
Reference in a new issue