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'] |