commit | 3bc59bb03b63e837938a692983ab4991580dc3b6 | [log] [tgz] |
---|---|---|
author | Nataniel Borges <[email protected]> | Wed Jul 15 20:59:36 2020 +0200 |
committer | Nataniel Borges <[email protected]> | Thu Jul 16 18:03:26 2020 +0200 |
tree | 55f7326ae0d162195f34e1970c5f224c5e65735a | |
parent | 6429892ea96938dcd4387d5cc091ab12de8bfc5e [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