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

Commit be967371 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Collect number of paired BT devices." into nyc-mr1-dev

parents 8fe24c51 4fe2402b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2481,6 +2481,7 @@ public class AdapterService extends Service {

    private void dumpJava(FileDescriptor fd) {
        BluetoothProto.BluetoothLog log = new BluetoothProto.BluetoothLog();
        log.setNumBondedDevices(getBondedDevices().length);

        for (ProfileService profile : mProfiles) {
            profile.dumpProto(log);
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ message BluetoothLog {

  // Scan event information.
  repeated ScanEvent scan_event = 4;

  // Number of bonded devices.
  optional int32 num_bonded_devices = 5;
}

// The information about the device.