Index: build/android/pylib/monkey/test_runner.py |
diff --git a/build/android/pylib/monkey/test_runner.py b/build/android/pylib/monkey/test_runner.py |
index 31d885187ba0c8421b7ec964407f1306a61c5bef..5f0cc5dd2e36c1a9dda34bc74851a1b1f97ee530 100644 |
--- a/build/android/pylib/monkey/test_runner.py |
+++ b/build/android/pylib/monkey/test_runner.py |
@@ -40,8 +40,7 @@ class TestRunner(base_test_runner.BaseTestRunner): |
'--kill-process-after-error', |
self._options.extra_args, |
'%d' % self._options.event_count] |
- return self.device.old_interface.RunShellCommand( |
- ' '.join(cmd), timeout_time=timeout_ms) |
+ return self.device.RunShellCommand(' '.join(cmd), timeout=timeout_ms) |
def RunTest(self, test_name): |
"""Run a Monkey test on the device. |