Change summary
src/main/AndroidManifest.xml | 8 ---
src/main/java/eu/siacs/conversations/ui/UriHandlerActivity.java | 2
src/main/java/eu/siacs/conversations/utils/XmppUri.java | 2
3 files changed, 12 deletions(-)
Detailed changes
@@ -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;
}