| Index: build/android/pylib/android_commands.py
|
| diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
|
| index 5ac4a30237718086f47769ab85622835a68c7796..6f9b99cc2405f9eab6760fe5d71d4fa5c5a9196c 100644
|
| --- a/build/android/pylib/android_commands.py
|
| +++ b/build/android/pylib/android_commands.py
|
| @@ -750,8 +750,9 @@ class AndroidCommands(object):
|
| (constants.PACKAGE_INFO['chrome'].package,
|
| package,
|
| constants.PACKAGE_INFO['chrome'].package))
|
| - am_output = self.RunShellCommand(cmd)
|
| - assert am_output and 'Starting' in am_output[-1], 'Service failed to start'
|
| + am_output = self.RunShellCommandWithSU(cmd)
|
| + assert am_output and 'Starting' in am_output[-1], (
|
| + 'Service failed to start: %s' % am_output)
|
| time.sleep(15)
|
|
|
| def BroadcastIntent(self, package, intent, *args):
|
|
|