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 |