summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jack Yu <jackyu@google.com> 2023-03-16 22:43:39 -0700
committer Jack Yu <jackyu@google.com> 2023-03-16 23:06:56 -0700
commit773cc03778364097eb2dba212113529e6299dfd3 (patch)
tree938182185ae632a17fbfcea8b5cb9e2ff35311cc
parent9bf3b2bcd4985d592d84138f05aa31cbb8c0c09f (diff)
Added subscriptions dump to connectivity bugreport
The subscription bump has been moved out of TelephonyDebugService dump because of it has been included in the bugreport through isub service dump. This caused the regression when collecting the connectivity dump through BugreportManager.startConnectivityBugreport. Fixed by adding it DumpstateTelephonyOnly. Fix: 273805171 Test: atest android.bugreport.cts.BugreportManagerTest#testTelephonyBugreport and verified SubscriptionManagerService dump shown in the bugreport. Change-Id: I43269b24f73edabdaff8f6af8aef3a0bda5ad67b
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 21c5bbf0e5..4b1d5da315 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", {"isub"}, CommandOptions::WithTimeout(90).Build(),
+ SEC_TO_MSEC(10));
RunDumpsys("DUMPSYS", {"telecom"}, CommandOptions::WithTimeout(90).Build(),
SEC_TO_MSEC(10));
if (include_sensitive_info) {