Index: build/android/enable_asserts.py |
diff --git a/build/android/enable_asserts.py b/build/android/enable_asserts.py |
index 9ed402e8a845b237558c289b2926e1c6a49f9ae4..34f8e3cabc7f920818a7b6ff7dd41022d8a18bed 100755 |
--- a/build/android/enable_asserts.py |
+++ b/build/android/enable_asserts.py |
@@ -28,7 +28,10 @@ def main(argv): |
for device in [device_utils.DeviceUtils(serial) for serial in devices]: |
if options.set_asserts != None: |
if device.old_interface.SetJavaAssertsEnabled(options.set_asserts): |
- device.old_interface.Reboot(full_reboot=False) |
+ # TODO(jbudorick) How to best do shell restarts after the |
+ # android_commands refactor? |
+ device.old_interface.RunShellCommand('stop') |
+ device.old_interface.RunShellCommand('start') |
if __name__ == '__main__': |