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

Commit ad5a1691 authored by Marie Janssen's avatar Marie Janssen
Browse files

Bluetooth: don't output dumpsys info twice

Dumpsys info was printed in the "Application Services" section as well
as the bluetooth_manager section.  Add an argument to print so it prints
from here, and doesn't in the other section.

Test: run a bugreport, check in "APP SERVICES" section
Bug: 29356402
Change-Id: I8adedaeac54c9a538c581459654dbdf96361e046
parent 570ac351
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2029,6 +2029,11 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
            }

            writer.flush();
            if (args.length == 0) {
              // Add arg to produce output
              args = new String[1];
              args[0] = "--print";
            }
        }

        if (mBluetoothBinder == null) {