Index: trunk/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py |
=================================================================== |
--- trunk/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py (revision 239788) |
+++ trunk/src/tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py (working copy) |
@@ -34,5 +34,6 @@ |
def InstallOnDevice(adb, profiler_binary): |
GetIfChanged(profiler_binary) |
- adb.PushIfNeeded(GetHostPath(profiler_binary), GetDevicePath(profiler_binary)) |
- adb.RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary)) |
+ adb.Adb().PushIfNeeded(GetHostPath(profiler_binary), |
+ GetDevicePath(profiler_binary)) |
+ adb.Adb().RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary)) |