commit | eedfd31691a5d9bf8b9a12e824104e82339d7a59 | [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 | 8629bc3e1a95f62b910ecde079571d7b172dbc22 [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