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 7359c1a5ff16999d22e927134c6806c9e595aef3..cede3d2251485fdccf4a25e365a4008ca77ae5fd 100644 |
--- a/build/android/pylib/instrumentation/test_runner.py |
+++ b/build/android/pylib/instrumentation/test_runner.py |
@@ -151,7 +151,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
logging.warning('Unable to enable java asserts for %s, non rooted device', |
str(self.device)) |
else: |
- if self.device.old_interface.SetJavaAssertsEnabled(True): |
+ if self.device.SetJavaAsserts(True): |
# TODO(jbudorick) How to best do shell restart after the |
# android_commands refactor? |
self.device.RunShellCommand('stop') |