Revert "Intercept DIAL and CALL to tel: and rewrite to cheogram"

This reverts commit 227dd8d2bc.
This commit is contained in:
Stephen Paul Weber 2021-10-27 13:58:04 -05:00
parent 92aed1247c
commit 6132024c16
No known key found for this signature in database
GPG key ID: D11C2911CE519CDE
3 changed files with 0 additions and 12 deletions

View file

@ -143,14 +143,6 @@
<data android:scheme="imto" /> <data android:scheme="imto" />
<data android:host="jabber" /> <data android:host="jabber" />
</intent-filter> </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> <intent-filter>
<action android:name="android.intent.action.SENDTO" /> <action android:name="android.intent.action.SENDTO" />

View file

@ -260,8 +260,6 @@ public class UriHandlerActivity extends AppCompatActivity {
break; break;
case Intent.ACTION_VIEW: case Intent.ACTION_VIEW:
case Intent.ACTION_SENDTO: case Intent.ACTION_SENDTO:
case Intent.ACTION_DIAL:
case Intent.ACTION_CALL:
if (handleUri(data.getData())) { if (handleUri(data.getData())) {
finish(); finish();
} }

View file

@ -179,8 +179,6 @@ public class XmppUri {
} catch (final UnsupportedEncodingException ignored) { } catch (final UnsupportedEncodingException ignored) {
jid = null; jid = null;
} }
} else if ("tel".equalsIgnoreCase(scheme)) {
jid = uri.getSchemeSpecificPart().replaceAll("[^\\d\\+]+", "") + "@cheogram.com";
} else { } else {
jid = null; jid = null;
} }