Index: build/android/pylib/host_driven/test_runner.py |
diff --git a/build/android/pylib/host_driven/test_runner.py b/build/android/pylib/host_driven/test_runner.py |
index c7d6ed1ba59a75e85006389a9295c3b02a3dd089..7072763cdcd90495bd9d3f053ab7a1a0169e0a87 100644 |
--- a/build/android/pylib/host_driven/test_runner.py |
+++ b/build/android/pylib/host_driven/test_runner.py |
@@ -85,8 +85,8 @@ class HostDrivenTestRunner(base_test_runner.BaseTestRunner): |
exception_raised = False |
try: |
- test.SetUp(self.device, self.shard_index, self._push_deps, |
- self._cleanup_test_files) |
+ test.SetUp(self.device.old_interface.GetDevice(), self.shard_index, |
+ self._push_deps, self._cleanup_test_files) |
except Exception: |
logging.exception( |
'Caught exception while trying to run SetUp() for test: ' + |