| Index: tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
|
| index 5505a0f60616e5ebcefb0dfa243dc9329ffa896b..4a56a056ca6095e86191eafc6bcceaede4c71b94 100644
|
| --- a/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
|
| +++ b/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py
|
| @@ -34,6 +34,5 @@ def GetIfChanged(profiler_binary):
|
|
|
| def InstallOnDevice(adb, profiler_binary):
|
| GetIfChanged(profiler_binary)
|
| - adb.Adb().PushIfNeeded(GetHostPath(profiler_binary),
|
| - GetDevicePath(profiler_binary))
|
| - adb.Adb().RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary))
|
| + adb.PushIfNeeded(GetHostPath(profiler_binary), GetDevicePath(profiler_binary))
|
| + adb.RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary))
|
|
|