Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2840)

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 265743002: [Android] Switch to new interfaces of GetAVDs and RestartAdbServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 47842b2f5ed9f34790aec7262bd193702f736957..606f931f2c686fb87bf092f5cd6b57676a6aa7e4 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -416,7 +416,7 @@ def ProvisionDevices(options):
if not bb_utils.TESTING:
# Restart adb to work around bugs, sleep to wait for usb discovery.
- device_utils.DeviceUtils(None).old_interface.RestartAdbServer()
+ device_utils.RestartServer()
RunCmd(['sleep', '1'])
if not options.no_reboot:
« no previous file with comments | « no previous file | build/android/pylib/device/device_utils.py » ('j') | build/android/pylib/device/device_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698