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

Commit 097825b2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BluetoothMetrics: Add BONDED state transition for pairing" into main

parents 936e4265 4510904b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);
    }
  }