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

Commit d9cd5f81 authored by Palash Ahuja's avatar Palash Ahuja Committed by Gerrit Code Review
Browse files

Merge "Adding the state transition for BOND_NONE state in the native layer" into main

parents abe0a103 c2d0aa2c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -564,6 +564,12 @@ 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;
  } else {
    if (state == BT_BOND_STATE_NONE) {
      bluetooth::os::LogMetricBluetoothEvent(ToGdAddress(bd_addr),
                                             android::bluetooth::EventType::BOND,
                                             android::bluetooth::State::STATE_NONE);
    }
  }

  log::info(