commit | e920712e1f09d895d07a976165ebac6cdcccb1ca | [log] [tgz] |
---|---|---|
author | Nataniel Borges <natanieljr@google.com> | Wed Jul 15 21:00:12 2020 +0200 |
committer | Nataniel Borges <natanieljr@google.com> | Thu Jul 16 18:00:44 2020 +0200 |
tree | f7e016af3370d4dc2dd11cba28561a3a6c02735f | |
parent | ef8a2deca17c408b6c337de4aae8856c90fbcefa [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 FlickerLibTest Bug: 161341377 Change-Id: I346074857478ba68d68fdbbf3b27bfcc98d79c0b