Skip to content
Commit 8805033e authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Allow update() to move files on disk.

There are a set of columns available through insert() and query()
which influence placement of files on disk, so it makes sense to
expand update() to allow movement of underlying files, as long as
the changes respect any rules that would have been applied to a
brand new insert().

When a caller updates any placement columns, blend them together
with any current values, and generate the path that would have
been used for an insert.

Bug: 123967243
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I440a3edc5faaebac30e5bfa4c992157be39c8ee1
parent 2c282d75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment