Fix FC when incoming call
This commit is contained in:
parent
f8aa2468f1
commit
d443ac5c2c
1 changed files with 15 additions and 13 deletions
|
@ -181,6 +181,7 @@ public class DialerFragment extends Fragment {
|
|||
}
|
||||
|
||||
public void newOutgoingCall(Intent intent) {
|
||||
if (intent != null && intent.getData() != null) {
|
||||
String scheme = intent.getData().getScheme();
|
||||
if (scheme.startsWith("imto")) {
|
||||
mAddress.setText("sip:" + intent.getData().getLastPathSegment());
|
||||
|
@ -196,4 +197,5 @@ public class DialerFragment extends Fragment {
|
|||
|
||||
LinphoneManager.getInstance().newOutgoingCall(mAddress);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue