summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNataniel Borges <natanieljr@google.com>2020-07-15 20:59:36 +0200
committerNataniel Borges <natanieljr@google.com>2020-07-16 18:03:26 +0200
commit3bc59bb03b63e837938a692983ab4991580dc3b6 (patch)
tree55f7326ae0d162195f34e1970c5f224c5e65735a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6429892ea96938dcd4387d5cc091ab12de8bfc5e (diff)
Use Android Q compatible external dir
We previously used Environment.getExternalDir to obtain the output dir for the tests. However, since Android Q this method is deprecated and returns an invalid path, leading to errors. Replace this method for context.getExternalDir(null) that return a Q friendly path. Test: atest FlickerTests Bug: 161341377 Change-Id: I5389ac6116b2b74fb19417683dbcfca604ca5b58
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions