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

Commit ff6066ef authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Automerger Merge Worker
Browse files

Merge "Update docs for BluetoothDevice#fetchUuidsWithSdp to reflect that if...

Merge "Update docs for BluetoothDevice#fetchUuidsWithSdp to reflect that if the device is bonding, we either broadcast cached UUIDs or wait for SDP to be performed after the device is bonded." am: 8e3fb4c4 am: f7fb9827 am: 60faa32f am: aabcb3e3

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698769

Change-Id: I6e06fedf36e2e22b2a7bb91a6ff8afbd46fb7953
parents 21712a80 aabcb3e3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1770,13 +1770,13 @@ public final class BluetoothDevice implements Parcelable {
     *
     * <p>This API is asynchronous and {@link #ACTION_UUID} intent is sent,
     * with the UUIDs supported by the remote end. If there is an error
     * in getting the SDP records or if the process takes a long time,
     * {@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
     * 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.
     *
     * @return False if the check fails, True if the process of initiating an ACL connection
     * to the remote device was started.
     * to the remote device was started or cached UUIDs will be broadcast.
     */
    @RequiresLegacyBluetoothPermission
    @RequiresBluetoothConnectPermission