commit | 0218c14b3bcc46f431b22f32744fea6b7041b9c1 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Oct 19 15:37:00 2018 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Sat Oct 20 14:20:27 2018 -0600 |
tree | 562b9178fcf05bdd5f091061b90378a899356553 | |
parent | 16fb8052a63e002b346ee217e2260c04ab71f6e1 [diff] |
Rewrite "_data" paths for sandboxed apps. MediaProvider has the full view of storage devices, meaning it needs to translate raw filesystem paths to and from sandboxes depending on the status of the calling app. Modern apps don't get any raw path access; they need to go through APIs like ContentResolver.openFileDescriptor(). Bug: 117627072 Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore* Change-Id: I3efa45833d25b33a3e7baf1847676522dfe44da4