Get incidentd cts working again.
- The buffer size increased, and the CTS test that checked that
was triggering.
- Privacy filtering wasn't working for the stack trace sections
- The incident command was not handling the default arguments correctly
- The throttler was throttling streaming reports, which made the
test flaky.
Bug: 126253679
Test: atest CtsIncidentHostTestCases
Change-Id: I342cd7d0421ea8c22b7796fc99e779f21855af73
diff --git a/cmds/incident/main.cpp b/cmds/incident/main.cpp
index 93e592c..eca781f 100644
--- a/cmds/incident/main.cpp
+++ b/cmds/incident/main.cpp
@@ -263,6 +263,9 @@
return 1;
}
}
+ if (destination == DEST_UNSET) {
+ destination = DEST_STDOUT;
+ }
string pkg;
string cls;