Index: build/android/provision_devices.py |
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py |
index d282737f0a177a4a095eddc9bf7973fde1a40b19..c4f8f340d5f23817464f13dc56caf042867544f4 100755 |
--- a/build/android/provision_devices.py |
+++ b/build/android/provision_devices.py |
@@ -131,7 +131,7 @@ def ProvisionDevices(options): |
device.old_interface.EnableAdbRoot() |
WipeDeviceData(device) |
try: |
- device_utils.DeviceUtils.parallel(devices).old_interface.Reboot(True) |
+ device_utils.DeviceUtils.parallel(devices).Reboot(True) |
except errors.DeviceUnresponsiveError: |
pass |
for device_serial in devices: |
@@ -148,7 +148,7 @@ def ProvisionDevices(options): |
device, device_settings.NETWORK_DISABLED_SETTINGS) |
device.old_interface.RunShellCommandWithSU('date -u %f' % time.time()) |
try: |
- device_utils.DeviceUtils.parallel(devices).old_interface.Reboot(True) |
+ device_utils.DeviceUtils.parallel(devices).Reboot(True) |
except errors.DeviceUnresponsiveError: |
pass |
for device_serial in devices: |
@@ -186,8 +186,7 @@ def main(argv): |
device = device_utils.DeviceUtils(device_serial) |
WipeDeviceData(device) |
try: |
- (device_utils.DeviceUtils.parallel(devices) |
- .old_interface.Reboot(True).pFinish(None)) |
+ device_utils.DeviceUtils.parallel(devices).Reboot(True) |
except errors.DeviceUnresponsiveError: |
pass |
else: |