Index: build/android/pylib/android_commands.py |
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
index 6f9b99cc2405f9eab6760fe5d71d4fa5c5a9196c..75940800d49ddcefa042a4fbd05243ae504c5e75 100644 |
--- a/build/android/pylib/android_commands.py |
+++ b/build/android/pylib/android_commands.py |
@@ -465,6 +465,7 @@ class AndroidCommands(object): |
def RestartAdbdOnDevice(self): |
logging.info('Killing adbd on the device...') |
+ self._adb.SendCommand('wait-for-device') |
tonyg
2013/11/25 15:46:33
While I love the fix, it seems misplaced to me.
T
Primiano Tucci (use gerrit)
2013/11/25 17:26:51
Right, I should have added more context, my bad.
T
bulach
2013/11/27 12:10:53
I agree this is misplaced and StartAdbServer's pgr
Primiano Tucci (use gerrit)
2013/11/27 15:14:41
Oh right, I got lost in the many layers. makes per
|
adb_pids = self.KillAll('adbd', signal=signal.SIGTERM, with_su=True) |
assert adb_pids, 'Unable to obtain adbd pid' |
logging.info('Waiting for device to settle...') |