Allow broadcasting of bug reports without a screenshot.
BUG: 25751868
Change-Id: Ideaa6c549f639aa64b30225147b2fad6c5f2d556
diff --git a/cmds/dumpstate/dumpstate.h b/cmds/dumpstate/dumpstate.h
index 25ae453..18ee168 100644
--- a/cmds/dumpstate/dumpstate.h
+++ b/cmds/dumpstate/dumpstate.h
@@ -34,6 +34,7 @@
#include <unistd.h>
#include <stdbool.h>
#include <stdio.h>
+#include <vector>
#define SU_PATH "/system/xbin/su"
@@ -70,6 +71,9 @@
command is always ran, even when _DUMPSTATE_DRY_RUN_ is defined. */
int run_command_always(const char *title, int timeout_seconds, const char *args[]);
+/* sends a broadcast using Activity Manager */
+void send_broadcast(const std::string& action, const std::vector<std::string>& args);
+
/* prints all the system properties */
void print_properties();