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

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

Issue 333933003: [Android] Switch to DeviceUtils version of RunShellCommand. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 fa838eafe82563ab5e0857374e8dca68e4c22ec6..6d689d19f6e2804d802bba69fcb1e86a544f4f1b 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
@@ -28,6 +28,6 @@ def InstallOnDevice(device, profiler_binary):
device_binary_path = GetDevicePath(profiler_binary)
device.old_interface.PushIfNeeded(host_path, device_binary_path)
- device.old_interface.RunShellCommand('chmod 777 ' + device_binary_path)
+ device.RunShellCommand('chmod 777 ' + device_binary_path)
return True

Powered by Google App Engine
This is Rietveld 408576698