summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Guang Zhu <guangzhu@google.com> 2021-12-03 15:22:58 -0800
committer Guang Zhu <guangzhu@google.com> 2021-12-03 15:29:32 -0800
commit7d6a7c5f0e3ff342674312e48717b1fe8f2d1e58 (patch)
tree414cf0deed5dd6a7f923e34637f3c1d7ffdd79fc /libs/androidfw/ZipFileRO.cpp
parent1a9af383d66643186ed575e4feba6776690f6703 (diff)
use test app's data folder as filter directory
During a retry, test methods to be retried are written into a file, pushed onto device and read by the test instrumentation for execution. The default location for such filter file is /data/local/tmp, which is prohibited for access by system uid packages, such as the system UI tests package. This change uses the test app's data folder for filter: this is not generally applicable for all the tests since root permission is required, but it is a relatively safe assumption in case of testing against system uid pakcages since it implies userdebug build is being used. Bug: 152001555 Fixes: 208473429 Test: http://go/forrest-run/L76200000952166377 Change-Id: Ifc268a1cdb94ff8e47b6bd323464deb28e0c20ea
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions