Index: build/android/pylib/perf/test_runner.py |
diff --git a/build/android/pylib/perf/test_runner.py b/build/android/pylib/perf/test_runner.py |
index 20f0fd08e3b002826e25e01ab7abef38573e3449..da66d070dd375370b9df8e2c01d7e030d1b2278e 100644 |
--- a/build/android/pylib/perf/test_runner.py |
+++ b/build/android/pylib/perf/test_runner.py |
@@ -170,7 +170,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
tests: a dict mapping test_name to command. |
flaky_tests: a list of flaky test_name. |
""" |
- super(TestRunner, self).__init__(device, None) |
+ super(TestRunner, self).__init__(device, None, 'Release') |
self._options = test_options |
self._shard_index = shard_index |
self._max_shard = max_shard |
@@ -235,7 +235,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
try: |
logging.warning('Unmapping device ports') |
forwarder.Forwarder.UnmapAllDevicePorts(self.device) |
- self.device.RestartAdbd() |
+ self.device.old_interface.RestartAdbdOnDevice() |
except Exception as e: |
logging.error('Exception when tearing down device %s', e) |