Add intent-filter priority for CONFIGURE_VOICEMAIL intent.
The android.telephony.action.CONFIGURE_VOICEMAIL intent is only handled
by the platform, so setting an intent filter priority here will ensure
that no other app can claim to handle it.
Test: Used test app which attempts to handle the intent to verify no
intent disambiguation dialog is shown and platform handles.
Bug: 185126149
Merged-In: I1c1b800737db5397d3e600e30c12ed2c8fc8efd9
Change-Id: I1c1b800737db5397d3e600e30c12ed2c8fc8efd9
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7e45783..f54cdf0 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -603,7 +603,7 @@
<action android:name="com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
- <intent-filter>
+ <intent-filter android:priority="1000">
<action android:name="android.telephony.action.CONFIGURE_VOICEMAIL" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>