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

Unified Diff: build/android/pylib/screenshot.py

Issue 1141833003: [Android] Remove adb_commands from telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (last?) rebase Created 5 years, 7 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
« no previous file with comments | « build/android/pylib/device/device_utils.py ('k') | tools/telemetry/telemetry/core/android_process.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/screenshot.py
diff --git a/build/android/pylib/screenshot.py b/build/android/pylib/screenshot.py
index 0fcc59048ec425aab0d7ba5124cdeeacf44e9c36..35edf3c2aa86348f742639c04e3a606bf27ed5c1 100644
--- a/build/android/pylib/screenshot.py
+++ b/build/android/pylib/screenshot.py
@@ -8,6 +8,7 @@ import tempfile
import time
from pylib import cmd_helper
+from pylib import constants
from pylib import device_signal
from pylib.device import device_errors
@@ -40,7 +41,7 @@ class VideoRecorder(object):
self._recorder_stdout = None
self._is_started = False
- self._args = ['adb']
+ self._args = [constants.GetAdbPath()]
if str(self._device):
self._args += ['-s', str(self._device)]
self._args += ['shell', 'screenrecord', '--verbose']
« no previous file with comments | « build/android/pylib/device/device_utils.py ('k') | tools/telemetry/telemetry/core/android_process.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698