summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
author Sahana Rao <sahanas@google.com> 2022-09-30 21:34:45 +0100
committer Sahana Rao <sahanas@google.com> 2022-10-03 19:22:39 +0000
commit01555d6445486e57d317513e581969d5b23d0101 (patch)
treeee496241cbc07b9167289ac7f173f53632254cc7 /AndroidManifest.xml
parentefbd77bfa0f57576e1964adc8e8c7d38ff5013eb (diff)
Set intent priority for PICK_IMAGES
Previously we were incorrectly setting the priority on the activity tag instead of intent-filter tag. Changed the priority tag to be set correctly on the intent-filter for PICK_IMAGES intent action Bug: 246301995 Test: atest CtsPhotoPickerTest Test: atest android.photopicker.cts.ActionPickImagesOnlyTest#testPhotoPickerIntentDelegation Change-Id: Iffcb615fee4df2e28874db9dd66642cccb81becc
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5ccc53a2d..f26467eac 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -172,15 +172,14 @@
android:label="@string/picker_app_label"
android:theme="@style/PickerDefaultTheme"
android:exported="true"
- android:excludeFromRecents="true"
- android:priority="100" >
- <intent-filter>
+ android:excludeFromRecents="true" >
+ <intent-filter android:priority="100" >
<action android:name="android.provider.action.PICK_IMAGES" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
</intent-filter>
- <intent-filter>
+ <intent-filter android:priority="100" >
<action android:name="android.provider.action.PICK_IMAGES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>