commit | e0b7502c7fb12b0ac03a5903562c74820975b833 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Aug 30 15:23:35 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Sep 01 15:43:22 2016 -0700 |
tree | cf74eb30654a20c9ea4aab204597af6f596d5877 | |
parent | 43824e72c7bccb934b8689af6abdb0552d420ce9 [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