summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Sergey Nikolaienkov <sergeynv@google.com> 2023-07-01 16:03:56 +0200
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-10-18 09:37:31 +0000
commitcf28630a3e286629ed7b13badd4fb0412564c0fd (patch)
tree0244eeebff226287a59d27f1724a92477dd1913a /libs/androidfw/FileStream.cpp
parent4f70c066504f150e29a751962891f1ee53ccb88e (diff)
"Hide" /Android/data|obb|sanbox/ on shared storage
Implement shouldHideDocument() in the ExternalStorageProvider so that it resitcts access to 'Android/data/', 'Android/obb/' and 'Android/sandbox' on the integrated shared storage along with all their content and subdirectories. Clean up the abstract FileSystemProvider, specifically all variants of queryChildDocuments(). Bug: 200034476 Bug: 220066255 Bug: 283962634 Test: make & flash systemimage, run manually Test: atest ExternalStorageProviderTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7f5667bfafbd9b1b4d59c2cb15f9a3e07a559318) Merged-In: I48c2ce7ff2d7fc067961ea2af0ea63818316f086 Change-Id: I48c2ce7ff2d7fc067961ea2af0ea63818316f086
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions