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 a18c67049b694317a0432d2869111215016dc987..178509a8040ff83f9d6a5adaf66c2576fc9bbfbc 100644 |
--- a/build/android/pylib/instrumentation/test_runner.py |
+++ b/build/android/pylib/instrumentation/test_runner.py |
@@ -147,7 +147,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
def SetUp(self): |
"""Sets up the test harness and device before all tests are run.""" |
super(TestRunner, self).SetUp() |
- if not self.device.old_interface.IsRootEnabled(): |
+ if not self.device.HasRoot(): |
logging.warning('Unable to enable java asserts for %s, non rooted device', |
str(self.device)) |
else: |