diff options
author | Jeff Sharkey <jsharkey@android.com> | 2019-03-22 17:18:38 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2019-03-22 17:18:40 -0600 |
commit | 9c9ee953e65e0246533884a2c76fdeb05dcfa0b0 (patch) | |
tree | 89e481b215d73ef7eb15cf5def955d6724b6ef74 /rs/java/android/renderscript/RenderScript.java | |
parent | b8d4c59b089cb302759a77584c2a5ee1583e6852 (diff) |
Translate paths before leaving app sandbox.
When sending the ACTION_MEDIA_SCANNER_SCAN_FILE broadcast, an app
provides a raw filesystem path, which might be inside of their
sandbox.
Once the broadcast is delivered, we don't know where it came from,
so we need to translate the path before leaving the app process.
Bug: 117909601
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Ibddd72a2d85e1f6541e0d6209e539fe6b5c4bde0
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions