Index: build/android/screenshot.py |
diff --git a/build/android/screenshot.py b/build/android/screenshot.py |
index a91bafd1d3264df72d8cc739ad7e7bcd79774329..fb1aee1d985aaedef0c47c22605328ff4ca969bd 100755 |
--- a/build/android/screenshot.py |
+++ b/build/android/screenshot.py |
@@ -21,7 +21,7 @@ def _PrintMessage(heading, eol='\n'): |
def _CaptureScreenshot(device, host_file): |
- host_file = device.old_interface.TakeScreenshot(host_file) |
+ host_file = device.TakeScreenshot(host_file) |
_PrintMessage('Screenshot written to %s' % os.path.abspath(host_file)) |
@@ -37,7 +37,7 @@ def _CaptureVideo(device, host_file, options): |
raw_input() |
finally: |
recorder.Stop() |
- recorder.Pull(host_file) |
+ host_file = recorder.Pull(host_file) |
_PrintMessage('Video written to %s' % os.path.abspath(host_file)) |