commit | c03613442d703cac46337c1a6c32254588a679e0 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 22 15:20:27 2019 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 25 13:59:00 2019 -0800 |
tree | ec9b8df994371f716ff0cb6898a159f2b24cb176 | |
parent | 8f4f18e3585456d86199bf7fecd6a756d9881625 [diff] |
adb: wait for device to disconnect upon `adb root`. Previously, there was a race where if adb root took longer than 3 seconds to take effect, we'd return early and allow subsequent commands to be targeted at the still-not-dead transport, and spuriously fail. Bug: http://b/124244488 Test: test_device.py Change-Id: I791a4f82946eb28e4d37729ab0ed3b7fc05b42a2