summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-12-06 14:44:18 -0700
committerJeff Sharkey <jsharkey@android.com>2019-12-06 14:44:21 -0700
commit530deca4be5a7ca0ca911cb8da0b653e25e99910 (patch)
tree4001fd341bfbc76db711be0dd9066fe0a9ea6f63 /rs/java/android/renderscript/ProgramStore.java
parent1403ee3ad54833761da7ea5f72ffef70fa340c88 (diff)
More robust DRM support, including tests.
Based on guidance from the DRM team, we should pass DRM files directly to MediaMetadataRetriever, which can be used to obtain both the underlying MIME type and the typical metadata to be indexed. To help ensure this works correctly and doesn't regress, borrow strategy from CTS which creates new Forward Locked media items for testing, and verify that we scan them correctly. Allow MediaMetadataRetriever to override the MIME type obtained from a file extension, but only when the primary type agrees with the extension. This is the same policy we apply to XMP metadata. Bug: 141146658 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I494a539a81ed39411a3b59c4433b6520967962c2
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions