From 9bf3b2bcd4985d592d84138f05aa31cbb8c0c09f Mon Sep 17 00:00:00 2001 From: Grant Menke Date: Fri, 24 Feb 2023 13:11:07 -0800 Subject: 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 --- cmds/dumpstate/dumpstate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 8c77255f8d..21c5bbf0e5 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -2059,6 +2059,8 @@ static void DumpstateTelephonyOnly(const std::string& calling_package) { 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)); -- cgit v1.2.3-59-g8ed1b