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

Commit 36453ef0 authored by Chris Manton's avatar Chris Manton
Browse files

Re-log bta/gatt/bta_gattc_act

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink

Change-Id: I3aba0bb2adddfabe86960991d9fa5d466008545e
parent 1c3c61bd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1025,12 +1025,12 @@ static void bta_gattc_conn_cback(tGATT_IF gattc_if, const RawAddress& bdaddr,
                                 tGATT_DISCONN_REASON reason,
                                 tBT_TRANSPORT transport) {
  if (connected) {
    LOG_INFO("Connected transport:%s reason:%s",
    LOG_INFO("Connected att_id:%hhu transport:%s reason:%s", gattc_if,
             BtTransportText(transport).c_str(),
             hci_error_code_text(reason).c_str());
    btif_debug_conn_state(bdaddr, BTIF_DEBUG_CONNECTED, GATT_CONN_UNKNOWN);
  } else {
    LOG_INFO("Disconnected transport:%s reason:%s",
    LOG_INFO("Disconnected att_id:%hhu transport:%s reason:%s", gattc_if,
             BtTransportText(transport).c_str(),
             hci_error_code_text(reason).c_str());
    btif_debug_conn_state(bdaddr, BTIF_DEBUG_DISCONNECTED, reason);