summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
author Abhijeet Kaur <abkaur@google.com> 2022-08-11 12:39:30 +0100
committer Abhijeet Kaur <abkaur@google.com> 2022-08-11 15:34:52 +0100
commitc52b46825ffddd2ed23197dd29ab8b7f7454d4be (patch)
tree3f1cf790f21f6b9de351acb8cd5b6f1c3a458be7 /AndroidManifest.xml
parente2e11baf140e4dc27dce7c6223fe16a2e1d85b9e (diff)
Update MediaProvider's icon to gallery icon
This is necessary for GET_CONTENT take over. Some apps query packages that can handle GET_CONTENT and want to display the icon and label of the package to the user. Bug: 241801552 Bug: 234205671 Bug: 238755399 Test: screenshots attached Change-Id: I413372205356b50ed11f9baa6957bd312370045a
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index dfe0ce06e..7df12fff7 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -49,9 +49,13 @@
<permission android:name="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS"
android:protectionLevel="signature" />
+ <!-- We use Photo Picker app icon for this package. It is necessary for Photo Picker GET_CONTENT
+ take over. Some apps query packages that can handle GET_CONTENT and want to display the
+ icon and label of the package to the user. -->
<application
android:name="com.android.providers.media.MediaApplication"
android:label="@string/app_label"
+ android:icon="@mipmap/picker_app_icon"
android:allowBackup="false"
android:supportsRtl="true"
android:forceQueryable="true"
@@ -166,7 +170,6 @@
android:name="com.android.providers.media.photopicker.PhotoPickerActivity"
android:process=":PhotoPicker"
android:label="@string/picker_app_label"
- android:icon="@mipmap/picker_app_icon"
android:theme="@style/PickerDefaultTheme"
android:exported="true"
android:excludeFromRecents="true"