| Index: build/android/provision_devices.py
|
| diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
|
| index 83c02a2a607a3fb75aed1c0258ac59571e9491bb..0549e81adbd17ad9c818e434919f9e4ba62564b9 100755
|
| --- a/build/android/provision_devices.py
|
| +++ b/build/android/provision_devices.py
|
| @@ -64,10 +64,8 @@ def PushAndLaunchAdbReboot(devices, target):
|
| device.old_interface.PushIfNeeded(adb_reboot, '/data/local/tmp/')
|
| # Launch adb_reboot
|
| print ' Launching adb_reboot ...'
|
| - # TODO(jbudorick) Try to convert this to RunShellCommand.
|
| - p = subprocess.Popen(['adb', '-s', device_serial, 'shell'],
|
| - stdin=subprocess.PIPE)
|
| - p.communicate('/data/local/tmp/adb_reboot; exit\n')
|
| + device.old_interface.GetAndroidToolStatusAndOutput(
|
| + '/data/local/tmp/adb_reboot')
|
| LaunchHostHeartbeat()
|
|
|
|
|
|
|