Index: build/android/pylib/instrumentation/test_runner.py |
diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py |
index 0124281df111b20c1b0477c9be45fa30d1338899..12ae70254e1a21fd6f582ea1ad8809e525941e5d 100644 |
--- a/build/android/pylib/instrumentation/test_runner.py |
+++ b/build/android/pylib/instrumentation/test_runner.py |
@@ -152,7 +152,10 @@ class TestRunner(base_test_runner.BaseTestRunner): |
str(self.device)) |
else: |
if self.device.old_interface.SetJavaAssertsEnabled(True): |
- self.device.old_interface.Reboot(full_reboot=False) |
+ # TODO(jbudorick) How to best do shell restart after the |
+ # android_commands refactor? |
+ self.device.old_interface.RunShellCommand('stop') |
+ self.device.old_interface.RunShellCommand('start') |
# We give different default value to launch HTTP server based on shard index |
# because it may have race condition when multiple processes are trying to |