summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothAdapter.java
diff options
context:
space:
mode:
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothAdapter.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothAdapter.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/java/android/bluetooth/BluetoothAdapter.java b/framework/java/android/bluetooth/BluetoothAdapter.java
index f302da12a8..1700254ba7 100644
--- a/framework/java/android/bluetooth/BluetoothAdapter.java
+++ b/framework/java/android/bluetooth/BluetoothAdapter.java
@@ -2397,10 +2397,10 @@ public final class BluetoothAdapter {
}
/**
- * Get the maximum number of connected audio devices.
+ * Get the maximum number of connected devices per audio profile for this device.
*
- * @return the maximum number of connected audio devices
- * @hide
+ * @return the number of allowed simultaneous connected devices for each audio profile
+ * for this device, or -1 if the Bluetooth service can't be reached
*/
@RequiresLegacyBluetoothPermission
@RequiresBluetoothConnectPermission
@@ -2416,7 +2416,7 @@ public final class BluetoothAdapter {
} finally {
mServiceLock.readLock().unlock();
}
- return 1;
+ return -1;
}
/**