summaryrefslogtreecommitdiff
path: root/proguard.flags
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2019-02-08 11:52:10 -0700
committer Jeff Sharkey <jsharkey@android.com> 2019-02-08 11:56:21 -0700
commitc61e106a92fa0409b643a54a656b238e524250ef (patch)
tree6e5d82b42b56a28ae58003b8ddbfd25441b2110b /proguard.flags
parente288d40e68b79974294abb2e6c70764151274003 (diff)
Extract common XMP metadata when scanning images.
The Extensible Metadata Platform (XMP) standard is widely used to annotate useful information about audio, video, and image files, so this change starts indexing certain widely-useful fields. This change only parses XMP metadata from images, and it has several example files to verify parsing, since we've observed values being defined as both XML attributes and tags. Per the docs in a previous CL, only allow XMP to override a MIME type when the top-level type is in agreement. Ignore some slower MediaScannerTest tests for now; they were mostly intended for debugging purposes instead of long-term enforcement. Bug: 120791890 Test: atest MediaProviderTests Change-Id: Ifa66efc4bf43174b239c10ac1f95ea032f507b2c
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags8
1 files changed, 1 insertions, 7 deletions
diff --git a/proguard.flags b/proguard.flags
index b07d602ac..862b47f3f 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -1,7 +1 @@
--keep class com.android.providers.media.scan.MediaScanner {
- *;
-}
-
--keep class * implements com.android.providers.media.scan.MediaScanner {
- *;
-}
+-keep class com.android.providers.media.** { *; }