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

Commit 74903896 authored by Chris Manton's avatar Chris Manton
Browse files

Re-log btif/src/btif_dm::bond_state_changed

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Change-Id: Ib474f0be03be451c3a5c14242c1fb9c4c8e97d3c
parent bf47d51d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -445,7 +445,9 @@ static void bond_state_changed(bt_status_t status, const RawAddress& bd_addr,

  if (pairing_cb.bond_type == BOND_TYPE_TEMPORARY) state = BT_BOND_STATE_NONE;

  BTIF_TRACE_DEBUG("%s: state=%d, prev_state=%d, sdp_attempts = %d", __func__,
  LOG_DEBUG(
      "Bond state changed to state=%d [0:none, 1:bonding, 2:bonded],"
      " prev_state=%d, sdp_attempts = %d",
      state, pairing_cb.state, pairing_cb.sdp_attempts);

  if (state == BT_BOND_STATE_NONE) {