summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2018-11-06 10:57:35 -0800
committerSudheer Shanka <sudheersai@google.com>2018-11-12 14:56:58 -0800
commit87915d66c360184964ffa3ae652dee08d93fafd7 (patch)
tree013c4afdc18ec79ca1a7c84f7015df5a73d6187f /tools/aapt2/java/JavaClassGenerator.cpp
parent64fdbf5ff71f5fea8a1ad787fcbe554f274536c9 (diff)
Update storage sandbox path translation methods.
Update these methods to consider if the app is sandboxed or not. Earlier, only apps with WRITE_MEDIA_STORAGE have access to full external storage. So, clients had to check this before calling these translate methods. Now, apps under instrumention might also have full storage access and DownloadProvider will also start using these translate methods. So, instead of having the clients deal with it, move the logic of checking if an app is sandboxed or not into these translate methods. Bug: 117229024 Bug: 119265456 Test: atest MediaProviderTests Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore* Test: atest services/tests/servicestests/src/com/android/server/StorageManagerServiceTest.java Change-Id: If679e71a906bb2106752721409b4410557fb3e28
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions