don't catch ussd codes (untested)
This commit is contained in:
parent
254d2d3f84
commit
87df319559
3 changed files with 3 additions and 0 deletions
Binary file not shown.
Binary file not shown.
|
@ -30,6 +30,9 @@ public class OutgoingCallReceiver extends BroadcastReceiver {
|
|||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
String to = intent.getStringExtra("android.intent.extra.PHONE_NUMBER");
|
||||
//do not catch ussd codes
|
||||
if (to.contains("#"))
|
||||
return;
|
||||
if (!to.contains(TAG)) {
|
||||
if (LinphoneService.isready() && LinphoneService.instance().getLinphoneCore().getDefaultProxyConfig()==null) {
|
||||
//just return
|
||||
|
|
Loading…
Reference in a new issue