Commit 79d7528
Block SAF directory access to /sdcard/Android
This works for target R+ apps, but need to come up with a better story
for target <R. The enforcement in DocumentsUI is target SDK based
and those apps bypass the block_tree flag.
Bug: 157320644
Test: atest DocumentsTest
Change-Id: I93aea7cd5d3b7befea1f78e1cf3f31f8250f1d33
(cherry picked from commit 9d508579aed406220c11022cfc983da46396bd07)
Merged-In: I93aea7cd5d3b7befea1f78e1cf3f31f8250f1d33
(cherry picked from commit 1ea98d44490a2383a604b546a5671a783c1000dd)1 parent 1d3fa3d commit 79d7528
1 file changed
Lines changed: 5 additions & 0 deletions
File tree
- packages/ExternalStorageProvider/src/com/android/externalstorage
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
| |||
0 commit comments