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

Commit 2b8f0acc 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 6bdeca6b f4386904
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.