diff options
author | frankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 20:47:46 +0000 |
---|---|---|
committer | frankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 20:47:46 +0000 |
commit | 478c2723efd4654e3f4bf7fc829ce9c8a4d65b0a (patch) | |
tree | c0eb9fd605f568c2103a6df88057c3725ea508b2 /build | |
parent | 7bc29466619e8bff47f6c44c96f1dd2e9563f396 (diff) | |
download | chromium_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.py | 5 |
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): |