summaryrefslogtreecommitdiff
path: root/mediaprovider_flags.aconfig
diff options
context:
space:
mode:
author Darshil Shah <darshilshah@google.com> 2024-09-24 17:09:30 +0000
committer darshilshah <darshilshah@google.com> 2024-11-04 06:40:53 +0000
commitc863d5686f0c7edb33cb95d5ae06c307225e77bf (patch)
treece5d42bd1a569386d61c4dcbaae1a389855e4594 /mediaprovider_flags.aconfig
parentbea932735f37f95802322fa933a16678ecb8dec9 (diff)
Mark media as favorite API
Expose new API to allow apps with READ_EXTERNAL_STROAGE/READ_MEDIA_IMAGES/ READ_MEDIA_VIDEOS to update is_favorite column using this new API. Is_favorite is not a critical column and updates on its gallery apps should be allowed for a better user experience. Bug: 294364218 Test: android.provider.cts.media.MediaStoreTest#testMarkMediaAsFavorite Flag: com.android.providers.media.flags.enable_mark_media_as_favorite_api Change-Id: Ia526cc4f7545268283e69510a1b240eeca18c06c
Diffstat (limited to 'mediaprovider_flags.aconfig')
-rw-r--r--mediaprovider_flags.aconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/mediaprovider_flags.aconfig b/mediaprovider_flags.aconfig
index 179546d0f..7255b23a1 100644
--- a/mediaprovider_flags.aconfig
+++ b/mediaprovider_flags.aconfig
@@ -173,4 +173,12 @@ flag {
description: "This flag will enable malicious app detector, putting limits on file creation"
bug: "293301664"
is_fixed_read_only: true
+ }
+
+flag {
+ name: "enable_mark_media_as_favorite_api"
+ is_exported: true
+ namespace: "mediaprovider"
+ description: "Enables mark media as favorite API"
+ bug: "294364218"
}