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

Unified Diff: build/android/screenshot.py

Issue 386053002: [Android] Switch to DeviceUtils versions of GetPid, TakeScreenshot, and GetIoStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 6 years, 5 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/screenshot.py ('k') | tools/android/adb_profile_chrome/perf_controller.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « build/android/pylib/screenshot.py ('k') | tools/android/adb_profile_chrome/perf_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698