Merge "Bugreport broadcasts are only useful to owners." into jb-mr2-dev

This commit is contained in:
Jeff Sharkey 2013-03-26 00:18:36 +00:00 committed by Android (Google) Code Review
commit d7cde4285c

View File

@ -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,