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

Unified Diff: build/android/pylib/screenshot.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
« no previous file with comments | « build/android/pylib/ports.py ('k') | build/android/pylib/utils/emulator.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 5cf3c268591b5f10eae29409e67c3cfbd05604a6..a09bc3d0a130261a08828b875a90ee798e7bb569 100644
--- a/build/android/pylib/screenshot.py
+++ b/build/android/pylib/screenshot.py
@@ -76,7 +76,7 @@ class VideoRecorder(object):
self._is_started = False
if not self._recorder or not self._recorder_pids:
return
- self._device.old_interface.RunShellCommand(
+ self._device.RunShellCommand(
'kill -SIGINT ' + ' '.join(self._recorder_pids))
self._recorder.wait()
@@ -88,5 +88,5 @@ class VideoRecorder(object):
"""
self._device.old_interface.PullFileFromDevice(
self._device_file, self._host_file)
- self._device.old_interface.RunShellCommand('rm -f "%s"' % self._device_file)
+ self._device.RunShellCommand('rm -f "%s"' % self._device_file)
return self._host_file
« no previous file with comments | « build/android/pylib/ports.py ('k') | build/android/pylib/utils/emulator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698