commit | 62ff9d49da6d3d0d1387eec61fce88cbcb62e57b | [log] [tgz] |
---|---|---|
author | Josh Gao <[email protected]> | Tue Aug 30 15:23:35 2016 -0700 |
committer | Josh Gao <[email protected]> | Thu Sep 01 15:43:22 2016 -0700 |
tree | 1436cb0ed31aa74e68ce95af299d2b282b93901b | |
parent | 827a4a575d5a880f68d2647f9d4a581aca0341fc [diff] |
adb: add helper to get the ~/.android directory. Extract the logic for creating ~/.android out of get_user_key_path into its own function. Also, fall back to getpwuid_r when $HOME isn't defined. Change-Id: I676a7c750cb364f89b544818ffda07903d14fb97 Test: ran adb with ~/.android missing