diff options
author | Josh Gao <jmgao@google.com> | 2016-12-12 18:15:33 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-12-12 18:20:57 -0800 |
commit | f0f854bc76458b10b6b3ed88655fd87cd156dc70 (patch) | |
tree | f382e3ac76fa4a0391119d68fb0bb1a84fa5c0e4 /libcutils/sockets_unix.cpp | |
parent | b0a15d83191c69f9a1279a09a40929b8b9fa6720 (diff) |
adb: retry install_listener for a while.
install_listener can fail if we told a previous adb server to quit and
it hasn't finished doing so yet. Retry it for a few hundred
milliseconds to avoid this.
Bug: http://b/28618716
Test: nc -l 5037; adb server nodaemon
Change-Id: Ibbda8f2718b85a2b6a08985aa8d29aa2204a3ead
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions