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

Unified Diff: build/android/enable_asserts.py

Issue 333933003: [Android] Switch to DeviceUtils version of RunShellCommand. (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 | « no previous file | build/android/gyp/util/build_device.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 34f8e3cabc7f920818a7b6ff7dd41022d8a18bed..8dd44f1901b32746a26931eb491e781fcd0cefef 100755
--- a/build/android/enable_asserts.py
+++ b/build/android/enable_asserts.py
@@ -30,8 +30,8 @@ def main(argv):
if device.old_interface.SetJavaAssertsEnabled(options.set_asserts):
# TODO(jbudorick) How to best do shell restarts after the
# android_commands refactor?
- device.old_interface.RunShellCommand('stop')
- device.old_interface.RunShellCommand('start')
+ device.RunShellCommand('stop')
+ device.RunShellCommand('start')
if __name__ == '__main__':
« no previous file with comments | « no previous file | build/android/gyp/util/build_device.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698