summaryrefslogtreecommitdiffstats
path: root/cmds/dumpstate
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-03-25 17:10:45 -0700
committerJeff Sharkey <jsharkey@android.com>2013-03-25 17:15:57 -0700
commitaaaa57bf8904ef383a9e766ace09725bc392aceb (patch)
tree7df5d19760bf58ec01a5f0fb1c25b8261c81c323 /cmds/dumpstate
parent0046d9614a57fe4f4e49692570810d424b1f4fe4 (diff)
downloadframeworks_native-aaaa57bf8904ef383a9e766ace09725bc392aceb.zip
frameworks_native-aaaa57bf8904ef383a9e766ace09725bc392aceb.tar.gz
frameworks_native-aaaa57bf8904ef383a9e766ace09725bc392aceb.tar.bz2
Bugreport broadcasts are only useful to owners.
Bug: 8415156 Change-Id: Ia73969262abe9f715f038dad934651d7e5d65c87
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r--cmds/dumpstate/dumpstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index a18c00d..9a332a9 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -478,7 +478,7 @@ int main(int argc, char *argv[]) {
}
if (do_broadcast && use_outfile && do_fb) {
- run_command(NULL, 5, "/system/bin/am", "broadcast",
+ run_command(NULL, 5, "/system/bin/am", "broadcast", "--user", "0",
"-a", "android.intent.action.BUGREPORT_FINISHED",
"--es", "android.intent.extra.BUGREPORT", path,
"--es", "android.intent.extra.SCREENSHOT", screenshot_path,