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

Unified Diff: build/android/pylib/android_commands.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 | « build/android/provision_devices.py ('k') | build/android/pylib/content_settings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/android_commands.py
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index f7264b091a645c48865743102697ffb9da32c9b6..32121432480103f0e071d4488825ebb6b2fc9011 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -656,12 +656,10 @@ class AndroidCommands(object):
preferred_apis = {
'getprop': 'system_properties[<PROPERTY>]',
'setprop': 'system_properties[<PROPERTY>]',
- 'su': 'RunShellCommandWithSU()',
}
# A dict of commands to methods that may call them.
whitelisted_callers = {
- 'su': 'RunShellCommandWithSU',
'getprop': 'ProvisionDevices',
}
« no previous file with comments | « build/android/provision_devices.py ('k') | build/android/pylib/content_settings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698