diff options
author | Jeff Sharkey <jsharkey@android.com> | 2019-04-09 23:46:48 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2019-04-10 09:35:14 -0600 |
commit | 586d3c013a168e36cebb100bd1afa7f04446819f (patch) | |
tree | f1ad3fe905b0ca7dc279f5e7dfebfc7ec14dd898 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 10f383b32c204e21b849aaf51ebc3ae0828b2a40 (diff) |
Split VOLUME_EXTERNAL and VOLUME_PRIMARY.
To let developers focus on specific concrete storage devices in Q,
we need a volume name that can be used to point at the primary
external storage device. We had been using VOLUME_EXTERNAL for that,
but we've heard that certain apps are making deep assumptions that
media item IDs are globally unique across all volumes.
Thus these changes merge all volumes back into a single underlying
database, and VOLUME_EXTERNAL works with all of the currently
attached volumes. The new VOLUME_PRIMARY name can be used to focus
on the primary storage device when desired.
When developers try inserting items directly into VOLUME_EXTERNAL,
we gracefully assume they meant VOLUME_PRIMARY.
Bug: 128451765
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I682ff6e9aaab4f5315a46c9825313a438548c7e6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions