diff options
-rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 95c4923ba0..c9a7c7b90e 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1695,6 +1695,12 @@ static Dumpstate::RunStatus dumpstate() { 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"}); |