Run distinct command to dump HIGH connectivity

The dumpsys design in connectivity was updated due to mainline
modularization work. Module can only register with default
priority which is NORMAL. RunDumpSysHigh will not be able to
dump the priority high information in ConnectivityService.
Thus, dump HIGH connectivity specifically to align with legacy
behavior.

Bug: 188387185
Test: adb bugreport
Change-Id: I0b712143527b866d2d749e37aa3d7f0f85317b17
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index b8df99f..4beba1c 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1691,6 +1691,12 @@
 
     RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(RunDumpsysHigh);
 
+    // The dump mechanism in connectivity is refactored due to modularization work. Connectivity can
+    // only register with a default priority(NORMAL priority). Dumpstate has to call connectivity
+    // dump with priority parameters to dump high priority information.
+    RunDumpsys("SERVICE HIGH connectivity", {"connectivity", "--dump-priority", "HIGH"},
+                   CommandOptions::WithTimeout(10).Build());
+
     RunCommand("SYSTEM PROPERTIES", {"getprop"});
 
     RunCommand("STORAGED IO INFO", {"storaged", "-u", "-p"});