From 4f219ace23b2c237ad3bf8813bb9549c1e58b347 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Tue, 5 Jan 2021 17:48:34 -0800 Subject: [PATCH] Re-log stack/gatt/gatt_main::gatt_notify_phy_updated Towards loggable code Bug: 163134718 Tag: #refactor Test: gd/cert/run --host Change-Id: I5ceaa69338345de6c0ac3497c0e572be04bbeb58 --- stack/gatt/gatt_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/gatt/gatt_main.cc b/stack/gatt/gatt_main.cc index 91140956a..361ce6a38 100644 --- a/stack/gatt/gatt_main.cc +++ b/stack/gatt/gatt_main.cc @@ -505,7 +505,7 @@ void gatt_notify_phy_updated(tGATT_STATUS status, uint16_t handle, uint8_t tx_phy, uint8_t rx_phy) { tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(handle); if (!p_dev_rec) { - BTM_TRACE_WARNING("%s: No Device Found!", __func__); + LOG_WARN("No Device Found!"); return; } -- 2.11.0