commit | ff707d38e8ef17a6d996d6f5bdfb886b402299ff | [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 | 0366ac8bd0a2a2efb8e591da0ae45b4d308eec9b | |
parent | b32f5acaea7e412ac62af58f5672b61815c8068a [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