Index: build/android/provision_devices.py |
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py |
index 1d4e5215157d97a67e9c2672b9cc846444cc605f..a3922469c8e765a221e055635483a6ecf9fc254b 100755 |
--- a/build/android/provision_devices.py |
+++ b/build/android/provision_devices.py |
@@ -72,7 +72,7 @@ def ProvisionDevices(options): |
devices = android_commands.GetAttachedDevices() |
for device in devices: |
android_cmd = android_commands.AndroidCommands(device) |
- android_cmd.RunShellCommand('su -c date -u %f' % time.time()) |
+ android_cmd.RunShellCommandWithSU('date -u %f' % time.time()) |
if options.auto_reconnect: |
PushAndLaunchAdbReboot(devices, options.target) |