diff options
| author | Rahul Sabnis <rahulsabnis@google.com> | 2021-05-19 21:18:59 -0700 |
|---|---|---|
| committer | Etienne Ruffieux <eruffieux@google.com> | 2021-07-01 22:36:56 +0000 |
| commit | d748e6ec7a7720c7d0326137be7298be40b32289 (patch) | |
| tree | 430a57828788d0012af62120b96c72c315e29f9b /core/java/android/bluetooth/BluetoothDevice.java | |
| parent | da9b4de8f0e99a384e9f357424aa8b106c6a0701 (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 'core/java/android/bluetooth/BluetoothDevice.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothDevice.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/BluetoothDevice.java b/core/java/android/bluetooth/BluetoothDevice.java index 11b45e32c425..07dbe52a2c66 100644 --- a/core/java/android/bluetooth/BluetoothDevice.java +++ b/core/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. |
