Chromium Code Reviews| Index: build/android/buildbot/bb_device_steps.py |
| diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py |
| index 1d83a96e230172ebfbcb58a60e3ff76c4b433b3b..1f15b97f11d66021982e100bf9bcbe5e87e664a3 100755 |
| --- a/build/android/buildbot/bb_device_steps.py |
| +++ b/build/android/buildbot/bb_device_steps.py |
| @@ -237,12 +237,13 @@ def SpawnLogcatMonitor(): |
| RunCmd(['sleep', '5']) |
| def ProvisionDevices(options): |
| + bb_annotations.PrintNamedStep('provision_devices') |
| + |
| # Restart adb to work around bugs, sleep to wait for usb discovery. |
| - RunCmd(['adb', 'kill-server']) |
| - RunCmd(['adb', 'start-server']) |
| + adb = android_commands.AndroidCommands() |
|
Isaac (away)
2013/08/14 19:53:29
these should be guarded to not run in testing mode
bulach
2013/08/15 08:22:39
Done.
|
| + adb.RestartAdbServer() |
| RunCmd(['sleep', '1']) |
| - bb_annotations.PrintNamedStep('provision_devices') |
| if options.reboot: |
| RebootDevices() |
| provision_cmd = ['build/android/provision_devices.py', '-t', options.target] |