Fix escaped arobase when starting Linphone by clicking on google's contacts' app SIP field
This commit is contained in:
parent
c7bb59d991
commit
023f29cc59
2 changed files with 3 additions and 6 deletions
|
@ -126,6 +126,7 @@
|
|||
<action android:name="android.intent.action.VIEW" />
|
||||
<action android:name="android.intent.action.DIAL" />
|
||||
<action android:name="android.intent.action.CALL" />
|
||||
<action android:name="android.intent.action.CALL_BUTTON" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="tel" />
|
||||
|
@ -133,12 +134,6 @@
|
|||
<data android:scheme="sips" />
|
||||
<data android:scheme="linphone" />
|
||||
<data android:scheme="sip-linphone" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="linphone-config" />
|
||||
</intent-filter>
|
||||
|
||||
|
|
|
@ -471,6 +471,8 @@ class MainActivity : GenericActivity(), SnackBarActivity, NavController.OnDestin
|
|||
}
|
||||
}
|
||||
|
||||
addressToCall = addressToCall.replace("%40", "@")
|
||||
|
||||
val address = coreContext.core.interpretUrl(
|
||||
addressToCall,
|
||||
LinphoneUtils.applyInternationalPrefix()
|
||||
|
|
Loading…
Reference in a new issue