Index: build/android/pylib/instrumentation/test_runner.py |
diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py |
index cede3d2251485fdccf4a25e365a4008ca77ae5fd..0ad9340cb3b570f6b311ef58651141df0e771c75 100644 |
--- a/build/android/pylib/instrumentation/test_runner.py |
+++ b/build/android/pylib/instrumentation/test_runner.py |
@@ -142,7 +142,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
"""Takes a screenshot from the device.""" |
screenshot_name = os.path.join(constants.SCREENSHOTS_DIR, '%s.png' % test) |
logging.info('Taking screenshot named %s', screenshot_name) |
- self.device.old_interface.TakeScreenshot(screenshot_name) |
+ self.device.TakeScreenshot(screenshot_name) |
def SetUp(self): |
"""Sets up the test harness and device before all tests are run.""" |