commit | e0cb802f6aa74bdc3b25c736bd599fdd0331b314 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Dec 14 17:45:49 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Mon Feb 13 15:50:56 2017 -0800 |
tree | 703ca6b4e5dd432e2a794e42af85ecfde97dd5e8 | |
parent | 7872ff3fb76d35dbf90eeaabccffb70e1de33a75 [diff] |
libbase: fix the way to find temp dir. Tests running in app context can't access /data/local/tmp, so try current directory if /data/local/tmp is not accessible. Bug: http://b/18790309 Test: run unit test in app context and shell context. Change-Id: If66fe8f0ac3edb3a32a2a2a50a524364f818a58b