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:
@@ -3019,7 +3019,7 @@
|
|||||||
android:theme="@style/Transparent"
|
android:theme="@style/Transparent"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:launchMode="singleTop">
|
android:launchMode="singleTop">
|
||||||
<intent-filter>
|
<intent-filter android:priority="1">
|
||||||
<action android:name="android.settings.SHOW_ADMIN_SUPPORT_DETAILS" />
|
<action android:name="android.settings.SHOW_ADMIN_SUPPORT_DETAILS" />
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|||||||
Reference in New Issue
Block a user