commit | 15975fe7307f271a91d50631a9f1d957445e825e | [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 | 8613acc4ff5bfbdf60d719ba62a77976d12c5f54 | |
parent | 1160e33ab707a90cbdeb5276dd708d83240a6ae0 [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