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 [ |