Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: build/android/enable_asserts.py

Issue 292313015: [Android] Switch to DeviceUtils versions of Reboot and Install. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/provision_devices.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__':
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/provision_devices.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698