Run telecom dumpsys when generating Telephony BR.
The DUMPSYS Telecom custom view was not available in lite version of telephony BRs that were generated by Telephony AnomalyReporter. This CL ensures the telecom dumpsys is ran in this case.
Bug: 270731315
Test: Manual
Merged-In: I94c953e0ae8165a5c4711b51c83a6a5a607bf324
Change-Id: I94c953e0ae8165a5c4711b51c83a6a5a607bf324
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 8c77255..21c5bbf 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -2059,6 +2059,8 @@
SEC_TO_MSEC(10));
RunDumpsys("DUMPSYS", {"telephony.registry"}, CommandOptions::WithTimeout(90).Build(),
SEC_TO_MSEC(10));
+ RunDumpsys("DUMPSYS", {"telecom"}, CommandOptions::WithTimeout(90).Build(),
+ SEC_TO_MSEC(10));
if (include_sensitive_info) {
// Contains raw IP addresses, omit from reports on user builds.
RunDumpsys("DUMPSYS", {"netd"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10));