Chromium Code Reviews| Index: build/android/pylib/android_commands.py |
| diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
| index 5fc2fbd0b001ba6d22e338f35371c255357fd24a..7c73b526da7e35f42e32da4e7e6b8e4a7b49a62a 100644 |
| --- a/build/android/pylib/android_commands.py |
| +++ b/build/android/pylib/android_commands.py |
| @@ -713,7 +713,7 @@ class AndroidCommands(object): |
| """ |
| self._LogShell(command) |
| if "'" in command: |
| - logging.warning(command + " contains ' quotes") |
| + command = command.replace('\'', '\'\\\'\'') |
|
tonyg
2014/08/15 17:19:43
I'd recommend landing this separately first.
|
| result = self._adb.SendShellCommand( |
| "'%s'" % command, timeout_time).splitlines() |
| # TODO(b.kelemen): we should really be able to drop the stderr of the |