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
This commit is contained in:
Sudheer Shanka
2018-02-13 17:19:38 -08:00
parent 4f6d667ac4
commit bc1c50c182

View File

@@ -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>