commit | 81ceaf0b8250d5f4de0edd35d8b99112d6e777dc | [log] [tgz] |
---|---|---|
author | Sahana Rao <sahanas@google.com> | Mon Dec 23 12:37:06 2019 +0000 |
committer | Sahana Rao <sahanas@google.com> | Fri Dec 27 14:20:56 2019 +0000 |
tree | 1e49dcbac5097121462f58079f2763c23a7e501d | |
parent | ccd016a944ec39098688a5f950a2117dae4e814b [diff] |
FUSE readdir: enforce restrictions based on target SDK Legacy app with storage permission will bypass FUSE and files list will be obtained from lower file system instead of MediaProvider database. Legacy app with no permissions can only list files in its external media directory. Bug: 144990065 Test: atest -c LegacyAccessHostTest#testListFiles_hasR atest -c LegacyAccessHostTest#testReadOnlyExternalStorage_hasR Change-Id: Ic867c8d885ab8ee471891d254dee73a499f8c8fd