Raise priority of SHOW_ADMIN_SUPPORT_DETAILS intent filter.
We don't want SHOW_ADMIN_SUPPORT_DETAILS intent to be handled
by other apps.
Bug: 69981936
Test: make -j32 RunSettingsRoboTests
Test: manual - Install another app which handles SHOW_ADMIN_SUPPORT_DETAILS
intent and verify that when SHOW_ADMIN_SUPPORT_DETAILS intent is
triggered, Settings activity gets launched.
Change-Id: I6f764fe53b32559da829d515dd448c817b6bf7c9
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f5c368f..9f1ca45 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3019,7 +3019,7 @@
android:theme="@style/Transparent"
android:excludeFromRecents="true"
android:launchMode="singleTop">
- <intent-filter>
+ <intent-filter android:priority="1">
<action android:name="android.settings.SHOW_ADMIN_SUPPORT_DETAILS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>