commit | b018289400d3fe9931f00b700d50bee76033e068 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Jul 31 14:12:59 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue Jul 31 15:57:49 2018 -0700 |
tree | 85245b60eac6531565d3c765386a724be882b0de | |
parent | c4deb3905f349b8c79f409a7e73c1d5b54614cb8 [diff] |
adb: more immediately try to reconnect connections. Most disconnects we're likely to encounter are cases where either we notice immediately and can start reconnecting almost immediately (adbd restarting because of `adb root`, etc.), or where we won't notice for a while anyway, so a 10 second sleep is somewhat meaningless. Test: adb root; time adb wait-for-device shell Change-Id: I18e9213dc4e84d735e9240118a368dcb38f21c78