From 6c58e3a5aad7f18a152e559264a49a0e870bfb7b Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Tue, 9 Feb 2021 14:39:07 -0800 Subject: [PATCH] Re-log stack/gatt/gatt_api::GATT_Connect Towards loggable code Bug: 163134718 Tag: #refactor Test: gd/cert/run Change-Id: I49b368915fef7ef2c51c867cff05474874714757 --- stack/gatt/gatt_api.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack/gatt/gatt_api.cc b/stack/gatt/gatt_api.cc index fb3dfcfaf..1edb9a6ce 100644 --- a/stack/gatt/gatt_api.cc +++ b/stack/gatt/gatt_api.cc @@ -31,6 +31,7 @@ #include "gatt_api.h" #include "gatt_int.h" #include "l2c_api.h" +#include "main/shim/dumpsys.h" #include "osi/include/log.h" #include "stack/gatt/connection_manager.h" #include "types/bt_transport.h" @@ -1193,6 +1194,7 @@ bool GATT_Connect(tGATT_IF gatt_if, const RawAddress& bd_addr, bool is_direct, << +gatt_if; ret = true; } else { + LOG_DEBUG("Adding to acceptlist device:%s", PRIVATE_ADDRESS(bd_addr)); ret = connection_manager::background_connect_add(gatt_if, bd_addr); } } -- 2.11.0