Raise priority of system handler for CHOOSER.

System chooser should always launch; 3p apps handling this intent
is not supported and not intended.

Bug: 156904978
Change-Id: I68e137e4f1d08a7f76c5718f41959a6dea80fc79
Test: manual - created + installed app that registers an
intent-filter for chooser; verified that this change prevents it
from elbowing its way into the flow.

Change-Id: I90c5175c4598fdeee33b8196c0996c9013e06158
This commit is contained in:
Alison Cichowlas
2020-07-01 16:31:59 -04:00
parent 45e3c228bb
commit 4dd7fb6081

View File

@@ -5068,7 +5068,7 @@
android:process=":ui"
android:exported="true"
android:visibleToInstantApps="true">
<intent-filter>
<intent-filter android:priority="100">
<action android:name="android.intent.action.CHOOSER" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE" />