Loading system/btif/src/btif_dm.cc +4 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,10 @@ static void bond_state_changed(bt_status_t status, const RawAddress& bd_addr, bluetooth::os::LogMetricBluetoothEvent(ToGdAddress(bd_addr), android::bluetooth::EventType::BOND, android::bluetooth::State::STATE_NONE); } else if (state == BT_BOND_STATE_BONDED) { bluetooth::os::LogMetricBluetoothEvent(ToGdAddress(bd_addr), android::bluetooth::EventType::BOND, android::bluetooth::State::STATE_BONDED); } } Loading Loading
system/btif/src/btif_dm.cc +4 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,10 @@ static void bond_state_changed(bt_status_t status, const RawAddress& bd_addr, bluetooth::os::LogMetricBluetoothEvent(ToGdAddress(bd_addr), android::bluetooth::EventType::BOND, android::bluetooth::State::STATE_NONE); } else if (state == BT_BOND_STATE_BONDED) { bluetooth::os::LogMetricBluetoothEvent(ToGdAddress(bd_addr), android::bluetooth::EventType::BOND, android::bluetooth::State::STATE_BONDED); } } Loading