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

Commit 80ab8036 authored by Chris Manton's avatar Chris Manton
Browse files

Use power_mode_state_text in dumpsys

Towards dumpable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: I3388cd5cbeccfa28cc0f88d491e83751dad524f0
parent 89c4799f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -511,6 +511,8 @@ void DumpsysAcl(int fd) {
    LOG_DUMPSYS(fd, "    disconnect_reason:0x%02x", acl_conn.disconnect_reason);
    LOG_DUMPSYS(fd, "    chg_ind:%s", (btm_pm_mcb.chg_ind) ? "true" : "false");
    LOG_DUMPSYS(fd, "    role:%s", RoleText(acl_conn.link_role).c_str());
    LOG_DUMPSYS(fd, "    power_mode_state:%s",
                power_mode_state_text(btm_pm_mcb.state).c_str());
  }
}
#undef DUMPSYS_TAG