summaryrefslogtreecommitdiff
path: root/mediaprovider_flags.aconfig
diff options
context:
space:
mode:
author Dipankar Bhardwaj <dipankarb@google.com> 2024-09-29 19:50:56 +0000
committer Dipankar Bhardwaj <dipankarb@google.com> 2025-03-13 16:57:13 +0000
commit9a831d5492fb663b95b49693de14287988ccad30 (patch)
tree7114671cf9b763034b7f092c67b1ad6c8b9e3e65 /mediaprovider_flags.aconfig
parent8361c9359191021054311dd73ff9fb05752e06df (diff)
Add API to bulk update oem_metadata
Created new API to bulk update oem_metadata. This can be done only with UPDATE_OEM_METADATA_PERMISSION which is signature and privileged. Triggering bulk update of oem_metadata column will mark it as null for rows with oem supported mime type till the next idle maintenance run re-fetches the values from OEMMetadataService. Also added support for OEM_METADATA update for a URI using update API. Test: atest OemMetadataServiceTest Bug: 352528913 Change-Id: If2ee9050304ab1f60ca402bf4205a34b58277e76 Flag: com.android.providers.media.flags.enable_oem_metadata_update
Diffstat (limited to 'mediaprovider_flags.aconfig')
-rw-r--r--mediaprovider_flags.aconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/mediaprovider_flags.aconfig b/mediaprovider_flags.aconfig
index 7a6c28299..4b7871002 100644
--- a/mediaprovider_flags.aconfig
+++ b/mediaprovider_flags.aconfig
@@ -282,3 +282,12 @@ flag {
is_fixed_read_only: true
bug: "376910932"
}
+
+flag {
+ name: "enable_oem_metadata_update"
+ is_exported: true
+ namespace: "mediaprovider"
+ description: "Controls ability to update oem_metadata column"
+ bug: "352528913"
+ is_fixed_read_only: true
+}