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

Commit 4c325e95 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Dumpstate: Add Bluetooth logs after getting Bluetooth dumpsys" am:...

Merge "Dumpstate: Add Bluetooth logs after getting Bluetooth dumpsys" am: f24c81b3 am: 7358ada5 am: 32901861

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1595619

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3d20810f7264a4e20b075a72c42192cc39dedb2f
parents a8bad0e2 32901861
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1657,8 +1657,6 @@ static Dumpstate::RunStatus dumpstate() {
    for_each_tid(show_wchan, "BLOCKED PROCESS WAIT-CHANNELS");
    for_each_pid(show_showtime, "PROCESS TIMES (pid cmd user system iowait+percentage)");

    /* Dump Bluetooth HCI logs */
    ds.AddDir("/data/misc/bluetooth/logs", true);
    /* Dump Nfc NCI logs */
    ds.AddDir("/data/misc/nfc/logs", true);

@@ -1744,6 +1742,9 @@ static Dumpstate::RunStatus dumpstate() {

    RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(RunDumpsysNormal);

    /* Dump Bluetooth HCI logs after getting bluetooth_manager dumpsys */
    ds.AddDir("/data/misc/bluetooth/logs", true);

    if (ds.dump_pool_) {
        WAIT_TASK_WITH_CONSENT_CHECK(DUMP_CHECKINS_TASK, ds.dump_pool_);
    } else {