summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothDevice.java
diff options
context:
space:
mode:
authorRahul Sabnis <rahulsabnis@google.com>2021-05-19 21:18:59 -0700
committerEtienne Ruffieux <eruffieux@google.com>2021-07-01 22:36:56 +0000
commit5708b05dd7c110aa2cbf99d0902ba93140f71498 (patch)
tree36dfd72bd8c51727449484e1eaabc55a0758e344 /framework/java/android/bluetooth/BluetoothDevice.java
parent842f394c3d34f5e5779f027bdcde8fcaccd195bd (diff)
Update BluetoothAdapter and BluetoothDevice documentation
Update BluetoothAdapter#startDiscovery and BluetoothDevice#fetchUuidsWithSdp documentation to indicate that it queues the request if a device is currently bonding Tag: #feature Bug: 187165224 Test: Manual Change-Id: I3dbcdacff062f6c33c2fdc8d64170bf60b2fbf6f
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothDevice.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java
index 11b45e32c4..07dbe52a2c 100644
--- a/framework/java/android/bluetooth/BluetoothDevice.java
+++ b/framework/java/android/bluetooth/BluetoothDevice.java
@@ -1608,7 +1608,8 @@ public final class BluetoothDevice implements Parcelable {
* in getting the SDP records or if the process takes a long time, or the device is bonding and
* we have its UUIDs cached, {@link #ACTION_UUID} intent is sent with the UUIDs that is
* currently present in the cache. Clients should use the {@link #getUuids} to get UUIDs
- * if service discovery is not to be performed.
+ * if service discovery is not to be performed. If there is an ongoing bonding process,
+ * service discovery or device inquiry, the request will be queued.
*
* @return False if the check fails, True if the process of initiating an ACL connection
* to the remote device was started or cached UUIDs will be broadcast.