| Index: build/android/devil/android/device_utils.py
|
| diff --git a/build/android/devil/android/device_utils.py b/build/android/devil/android/device_utils.py
|
| index 951bae44f7da32e0639993e51de8499054c415bd..d0d5b38e2399338a88215930fd83188da5e36e93 100644
|
| --- a/build/android/devil/android/device_utils.py
|
| +++ b/build/android/devil/android/device_utils.py
|
| @@ -294,7 +294,7 @@ class DeviceUtils(object):
|
| def _Su(self, command):
|
| if self.build_version_sdk >= version_codes.MARSHMALLOW:
|
| return 'su 0 %s' % command
|
| - return 'su -c %s' % command
|
| + return 'su -c %s' % cmd_helper.SingleQuote(command)
|
|
|
| @decorators.WithTimeoutAndRetriesFromInstance()
|
| def EnableRoot(self, timeout=None, retries=None):
|
|
|