summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorfrankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-20 20:47:46 +0000
committerfrankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-20 20:47:46 +0000
commit478c2723efd4654e3f4bf7fc829ce9c8a4d65b0a (patch)
treec0eb9fd605f568c2103a6df88057c3725ea508b2 /build
parent7bc29466619e8bff47f6c44c96f1dd2e9563f396 (diff)
downloadchromium_src-478c2723efd4654e3f4bf7fc829ce9c8a4d65b0a.zip
chromium_src-478c2723efd4654e3f4bf7fc829ce9c8a4d65b0a.tar.gz
chromium_src-478c2723efd4654e3f4bf7fc829ce9c8a4d65b0a.tar.bz2
[Android] Send minidump service intent as root.
Also improve exception message. BUG=None NOTRY=True Review URL: https://codereview.chromium.org/76973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/android_commands.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 5ac4a30..6f9b99c 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):