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 107c93215eaafeb853380e784ecdbd28a65088bd..4e07566685722851e9e9e22c164876f338f964da 100644 |
--- a/build/android/pylib/perf/test_runner.py |
+++ b/build/android/pylib/perf/test_runner.py |
@@ -256,7 +256,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
try: |
logging.warning('Unmapping device ports') |
forwarder.Forwarder.UnmapAllDevicePorts(self.device) |
- self.device.old_interface.RestartAdbdOnDevice() |
+ self.device.RestartAdbd() |
except Exception as e: |
logging.error('Exception when tearing down device %s', e) |