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

Unified Diff: build/android/pylib/android_commands.py

Issue 234533003: Fix screenshot.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/android_commands.py
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 2e277038878157c3192e4af307f04afb0d2a856e..db87172e432954a2318726ebcee45521ba1b79ff 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -27,6 +27,7 @@ import constants
import screenshot
import system_properties
from utils import host_utils
+from device import device_utils
try:
from pylib import pexpect
@@ -1721,7 +1722,7 @@ class AndroidCommands(object):
Returns:
Resulting host file name of the screenshot.
"""
- return screenshot.TakeScreenshot(self, host_file)
+ return screenshot.TakeScreenshot(device_utils.DeviceUtils(self), host_file)
def PullFileFromDevice(self, device_file, host_file):
"""Download |device_file| on the device from to |host_file| on the host.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698