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

Commit efc9968f authored by Palash Ahuja's avatar Palash Ahuja Committed by Automerger Merge Worker
Browse files

Merge "Adding the state transition for BOND_NONE state in the native layer"...

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

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3317078



Change-Id: I274bd8b9619807d49d4b673bdbee6728562b4f7a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 84278dd9 d9cd5f81
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(