From 74913e97b1a12bdcb82337ccaef8e82a964b5a43 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Wed, 9 Dec 2020 20:26:48 -0800 Subject: [PATCH] Use power_mode_state_text in dumpsys Towards dumpable code Bug: 163134718 Tag: #refactor Test: gd/cert/run --host Change-Id: I3388cd5cbeccfa28cc0f88d491e83751dad524f0 --- main/shim/acl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/shim/acl.cc b/main/shim/acl.cc index 25eb95482..5582e991a 100644 --- a/main/shim/acl.cc +++ b/main/shim/acl.cc @@ -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 -- 2.11.0