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

Unified Diff: build/android/pylib/android_commands.py

Issue 257743002: Add print of all system properties after provisioning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove skip_check and add to whitelesit. Created 6 years, 8 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') | no next file » | 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 b734d17597838541dbda1a12527f05949a2d9eac..20e9bf55c6083f4a7cd1cb24b99599b90e72c4b0 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -637,9 +637,10 @@ class AndroidCommands(object):
# A dict of commands to methods that may call them.
whitelisted_callers = {
'su': 'RunShellCommandWithSU',
+ 'getprop': 'ProvisionDevices',
}
- base_command = shlex.split(command)[0]
+ base_command = shlex.split(command)[0].strip(';')
navabi 2014/04/26 22:54:40 without this call to strip the call would actually
if (base_command in preferred_apis and
(base_command not in whitelisted_callers or
whitelisted_callers[base_command] not in [
« no previous file with comments | « build/android/provision_devices.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698