summaryrefslogtreecommitdiffstats
path: root/adb/shell_service.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-08-30 15:23:35 -0700
committerJosh Gao <jmgao@google.com>2016-09-01 15:43:22 -0700
commite0b7502c7fb12b0ac03a5903562c74820975b833 (patch)
treecf74eb30654a20c9ea4aab204597af6f596d5877 /adb/shell_service.cpp
parent43824e72c7bccb934b8689af6abdb0552d420ce9 (diff)
downloadcore-e0b7502c7fb12b0ac03a5903562c74820975b833.tar.gz
core-e0b7502c7fb12b0ac03a5903562c74820975b833.tar.bz2
core-e0b7502c7fb12b0ac03a5903562c74820975b833.zip
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
Diffstat (limited to 'adb/shell_service.cpp')
0 files changed, 0 insertions, 0 deletions