Index: build/android/pylib/utils/test_environment.py |
diff --git a/build/android/pylib/utils/test_environment.py b/build/android/pylib/utils/test_environment.py |
index e78eb5ce801ffa9185fd5c0b69e5f56a7eaef570..f55a4acc100997aeb1bc5b4e7ee69caca73056d8 100644 |
--- a/build/android/pylib/utils/test_environment.py |
+++ b/build/android/pylib/utils/test_environment.py |
@@ -36,7 +36,7 @@ def CleanupLeftoverProcesses(): |
device_utils.RestartServer() |
def cleanup_device(d): |
- d.old_interface.RestartAdbdOnDevice() |
+ d.RestartAdbd() |
try: |
d.EnableRoot() |
except device_errors.CommandFailedError as e: |