diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-08-14 15:07:29 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2018-08-14 15:07:32 -0600 |
commit | fac57e600d134d8c422315705eded0e9677b2129 (patch) | |
tree | 220bf194db9da429ac8ee363a647980c2e92c9ab /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4d472d551a616aea77bf8fbd99869c3001147574 (diff) |
Change MEDIA_TYPE through Files table.
As part of implementing strongly-typed storage in the Q release, we've
needed to limit the items visible in strongly-typed views. (For
example, the Images view must only include images.)
This change fixes a place inside the OS that was implicitly relying on
update() leaking between these strong data types. If we're changing
the media type of an already-scanned file, we need to do that through
the Files table first, and then we can update the details at the
strongly-typed Uri.
Bug: 112467162
Test: atest android.media.cts.MediaScannerTest
Change-Id: I61c8b62e04f6542882745a20e9aed96275427b5f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions