Removing action_dial intent filter from contacts app.
Applications sending an action_dial intent would be picked up by the Contacts
application on tablets since the dialer is not installed. But the result is
not a dial action and may be confusing to the user.
Bug: 9607218
Change-Id: I2acf1bf5b9bc913ad1a64b5b3b66f06100687f51
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index aabf50b..e4beec3 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -481,23 +481,6 @@
android:theme="@style/NonPhoneActivityTheme"
>
<intent-filter android:priority="-1">
- <action android:name="android.intent.action.DIAL"/>
- <category android:name="android.intent.category.DEFAULT"/>
- <category android:name="android.intent.category.BROWSABLE"/>
- <data android:mimeType="vnd.android.cursor.item/phone"/>
- <data android:mimeType="vnd.android.cursor.item/person"/>
- </intent-filter>
- <intent-filter android:priority="-1">
- <action android:name="android.intent.action.DIAL"/>
- <category android:name="android.intent.category.DEFAULT"/>
- <category android:name="android.intent.category.BROWSABLE"/>
- <data android:scheme="voicemail"/>
- </intent-filter>
- <intent-filter android:priority="-1">
- <action android:name="android.intent.action.DIAL"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
- <intent-filter android:priority="-1">
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
@@ -515,11 +498,6 @@
<category android:name="android.intent.category.BROWSABLE"/>
<data android:mimeType="vnd.android.cursor.dir/calls"/>
</intent-filter>
- <intent-filter android:priority="-1">
- <action android:name="android.intent.action.CALL_BUTTON"/>
- <category android:name="android.intent.category.DEFAULT"/>
- <category android:name="android.intent.category.BROWSABLE"/>
- </intent-filter>
</activity>
<!-- Service that is exclusively for the Phone application that sends out a view