Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py

Issue 358993003: [Android] Switch to DeviceUtils versions of file functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6d689d19f6e2804d802bba69fcb1e86a544f4f1b..150bb0c6d1385ddc47b6b8d833ded64c4353dadb 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
@@ -27,7 +27,7 @@ def InstallOnDevice(device, profiler_binary):
return False
device_binary_path = GetDevicePath(profiler_binary)
- device.old_interface.PushIfNeeded(host_path, device_binary_path)
+ device.PushChangedFiles(host_path, device_binary_path)
device.RunShellCommand('chmod 777 ' + device_binary_path)
return True

Powered by Google App Engine
This is Rietveld 408576698