diff options
-rw-r--r-- | services/core/java/com/android/server/BluetoothManagerService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/BluetoothManagerService.java b/services/core/java/com/android/server/BluetoothManagerService.java index 0abc787a7fca..abaacbfcf4c7 100644 --- a/services/core/java/com/android/server/BluetoothManagerService.java +++ b/services/core/java/com/android/server/BluetoothManagerService.java @@ -2033,6 +2033,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) { |