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

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

Merge "BluetoothMetrics: Log Bonding Event" into main

parents 58e8d862 cd655d26
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -4793,6 +4793,14 @@ public class AdapterService extends Service {
        }
        if (setData) {
            msg.setData(remoteOobDatasBundle);
        } else {
            MetricsLogger.getInstance()
                    .logBluetoothEvent(
                            device,
                            BluetoothStatsLog
                                    .BLUETOOTH_CROSS_LAYER_EVENT_REPORTED__EVENT_TYPE__BONDING,
                            BluetoothStatsLog.BLUETOOTH_CROSS_LAYER_EVENT_REPORTED__STATE__START,
                            Binder.getCallingUid());
        }
        mBondStateMachine.sendMessage(msg);
        return true;