From 31914c61e0be98e83541b6cfe2031a2b4d3e2038 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Thu, 17 Dec 2020 14:38:49 -0800 Subject: [PATCH] btm_loghistory: HeadsetInterface::PhoneStateChange Towards loggable code Bug: 163134718 Tag: #refactor Test: gd/cert/run --host Change-Id: I3aee041f42df8446ee6853f2a6c9ee356c808b27 --- btif/src/btif_hf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btif/src/btif_hf.cc b/btif/src/btif_hf.cc index cf29a01f6..f31719db3 100644 --- a/btif/src/btif_hf.cc +++ b/btif/src/btif_hf.cc @@ -1149,7 +1149,7 @@ bt_status_t HeadsetInterface::PhoneStateChange( /* if all indicators are 0, send end call and return */ if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE) { - VLOG(1) << __func__ << ": call ended"; + BTM_LogHistory("HFP", raw_address, "Call Ended"); BTA_AgResult(control_block.handle, BTA_AG_END_CALL_RES, tBTA_AG_RES_DATA::kEmpty); /* if held call was present, reset that as well */ -- 2.11.0