Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c5f26ba authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by Android (Google) Code Review
Browse files

Merge "Dump HALs and enable persistent logs for radio bugreports" into qt-r1-dev

parents 9939d091 b4389d9b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1594,6 +1594,8 @@ static Dumpstate::RunStatus DumpstateDefault() {
static void DumpstateRadioCommon() {
    DumpIpTablesAsRoot();

    ds.AddDir(LOGPERSIST_DATA_DIR, false);

    if (!DropRootUser()) {
        return;
    }
@@ -1604,6 +1606,7 @@ static void DumpstateRadioCommon() {
    DoKmsg();
    DumpIpAddrAndRules();
    dump_route_tables();
    DumpHals();

    RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"},
               CommandOptions::WithTimeout(10).Build());
@@ -1673,8 +1676,6 @@ static void DumpstateWifiOnly() {
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
               SEC_TO_MSEC(10));

    DumpHals();

    printf("========================================================\n");
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("========================================================\n");