summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-10-18 18:55:36 -0600
committerJeff Sharkey <jsharkey@android.com>2019-10-29 16:03:20 -0600
commit7b75fe5257c34cf744db2c6c377d8b68531ba085 (patch)
tree11bdd87a410b3f3a4e02f60eb81f31566fbde490 /tools/aapt2/java/JavaClassGenerator.cpp
parentde6a221b151bef4bc00f64f1bc737daf3cd74b23 (diff)
Reconcile MediaStore with MediaMetadataRetriever.
Over the last year we've been converging on saying that MediaProvider is an indexed view of values that developers can obtain directly from MediaMetadataRetriever. This change starts indexing several fields of interest to bring these two surfaces into sync. Since we're going to be asking MediaMetadataRetriever about audio, video, and image files, it could return any metadata values for any of those file types, so we're adding and promoting fields up to the MediaColumns level. Bring back APIs related to "trashing" media items; they had been in place for the last release, but were hidden until we had firm requests to add them, and partners have now requested them. Also add APIs for marking media items as "favorite", as requested by partners. Bug: 135343128, 142478744, 122025511, 142498573 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: Ie839ec1b2eed621786d0d10f35a061cbc52f192b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions