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

Commit 867ef644 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "BluetoothMetrics: Log Bonding Event" into main am: a8cda2bd am: 3704096e

parents e6b9e22e 3704096e
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;