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

Unified Diff: build/android/enable_asserts.py

Issue 371813005: [Android] Switch to DeviceUtils versions of Ls, SetJavaAsserts, GetProp, and SetProp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/buildbot/bb_device_status_check.py ('k') | build/android/pylib/android_commands.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 8dd44f1901b32746a26931eb491e781fcd0cefef..0e30bc2a1736d529511b038007f6e9bc707c2b7e 100755
--- a/build/android/enable_asserts.py
+++ b/build/android/enable_asserts.py
@@ -27,7 +27,7 @@ def main(argv):
devices = android_commands.GetAttachedDevices()
for device in [device_utils.DeviceUtils(serial) for serial in devices]:
if options.set_asserts != None:
- if device.old_interface.SetJavaAssertsEnabled(options.set_asserts):
+ if device.SetJavaAsserts(options.set_asserts):
# TODO(jbudorick) How to best do shell restarts after the
# android_commands refactor?
device.RunShellCommand('stop')
« no previous file with comments | « build/android/buildbot/bb_device_status_check.py ('k') | build/android/pylib/android_commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698