Loading cmds/dumpstate/dumpstate.cpp +13 −11 Original line number Diff line number Diff line Loading @@ -1269,7 +1269,8 @@ int main(int argc, char *argv[]) { add_text_zip_entry("version.txt", version); } if (do_update_progress && do_broadcast) { if (do_update_progress) { if (do_broadcast) { // clang-format off std::vector<std::string> am_args = { "--receiver-permission", "android.permission.DUMP", "--receiver-foreground", Loading @@ -1277,9 +1278,10 @@ int main(int argc, char *argv[]) { "--ei", "android.intent.extra.ID", std::to_string(id), "--ei", "android.intent.extra.PID", std::to_string(getpid()), "--ei", "android.intent.extra.MAX", std::to_string(WEIGHT_TOTAL), // clang-format on }; // clang-format on send_broadcast("android.intent.action.BUGREPORT_STARTED", am_args); } if (use_control_socket) { dprintf(control_socket_fd, "BEGIN:%s\n", path.c_str()); } Loading Loading
cmds/dumpstate/dumpstate.cpp +13 −11 Original line number Diff line number Diff line Loading @@ -1269,7 +1269,8 @@ int main(int argc, char *argv[]) { add_text_zip_entry("version.txt", version); } if (do_update_progress && do_broadcast) { if (do_update_progress) { if (do_broadcast) { // clang-format off std::vector<std::string> am_args = { "--receiver-permission", "android.permission.DUMP", "--receiver-foreground", Loading @@ -1277,9 +1278,10 @@ int main(int argc, char *argv[]) { "--ei", "android.intent.extra.ID", std::to_string(id), "--ei", "android.intent.extra.PID", std::to_string(getpid()), "--ei", "android.intent.extra.MAX", std::to_string(WEIGHT_TOTAL), // clang-format on }; // clang-format on send_broadcast("android.intent.action.BUGREPORT_STARTED", am_args); } if (use_control_socket) { dprintf(control_socket_fd, "BEGIN:%s\n", path.c_str()); } Loading