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

Commit 15582dd2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BluetoothMetrics: Adding the transport level breakdown for pairing" into main

parents 097825b2 ab0c3a51
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -812,6 +812,10 @@ static void btif_dm_cb_create_bond(const RawAddress bd_addr, tBT_TRANSPORT trans

  /*  Track originator of bond creation  */
  pairing_cb.is_local_initiated = true;
  bluetooth::os::LogMetricBluetoothEvent(
          ToGdAddress(bd_addr), android::bluetooth::EventType::TRANSPORT,
          transport == BT_TRANSPORT_LE ? android::bluetooth::State::LE
                                       : android::bluetooth::State::CLASSIC);
  BTA_DmBond(bd_addr, addr_type, transport, device_type);
}