Revert "Intercept DIAL and CALL to tel: and rewrite to cheogram"
This reverts commit 227dd8d2bc
.
This commit is contained in:
parent
92aed1247c
commit
6132024c16
|
@ -143,14 +143,6 @@
|
|||
<data android:scheme="imto" />
|
||||
<data android:host="jabber" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<action android:name="android.intent.action.CALL" />
|
||||
<action android:name="android.intent.action.DIAL" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="tel" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SENDTO" />
|
||||
|
||||
|
|
|
@ -260,8 +260,6 @@ public class UriHandlerActivity extends AppCompatActivity {
|
|||
break;
|
||||
case Intent.ACTION_VIEW:
|
||||
case Intent.ACTION_SENDTO:
|
||||
case Intent.ACTION_DIAL:
|
||||
case Intent.ACTION_CALL:
|
||||
if (handleUri(data.getData())) {
|
||||
finish();
|
||||
}
|
||||
|
|
|
@ -179,8 +179,6 @@ public class XmppUri {
|
|||
} catch (final UnsupportedEncodingException ignored) {
|
||||
jid = null;
|
||||
}
|
||||
} else if ("tel".equalsIgnoreCase(scheme)) {
|
||||
jid = uri.getSchemeSpecificPart().replaceAll("[^\\d\\+]+", "") + "@cheogram.com";
|
||||
} else {
|
||||
jid = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue