| Index: telemetry/telemetry/internal/platform/profiler/android_prebuilt_profiler_helper.py
|
| diff --git a/telemetry/telemetry/internal/platform/profiler/android_prebuilt_profiler_helper.py b/telemetry/telemetry/internal/platform/profiler/android_prebuilt_profiler_helper.py
|
| index 83adc5980c442c1db81e6fe8e70b542b976d4a01..77e23141a2b920bbe1b34807bd80616553556900 100644
|
| --- a/telemetry/telemetry/internal/platform/profiler/android_prebuilt_profiler_helper.py
|
| +++ b/telemetry/telemetry/internal/platform/profiler/android_prebuilt_profiler_helper.py
|
| @@ -28,5 +28,6 @@ def InstallOnDevice(device, profiler_binary):
|
|
|
| device_binary_path = GetDevicePath(profiler_binary)
|
| device.PushChangedFiles([(host_path, device_binary_path)])
|
| - device.RunShellCommand('chmod 777 ' + device_binary_path)
|
| + device.RunShellCommand(
|
| + ['chmod', '777', device_binary_path], check_return=True)
|
| return True
|
|
|