Merge "Document condition when CDM looks at bonded devices"

This commit is contained in:
Eugene Susla
2019-08-15 19:36:51 +00:00
committed by Android (Google) Code Review

View File

@@ -127,6 +127,12 @@ public final class AssociationRequest implements Parcelable {
public Builder() {}
/**
* Whether only a single device should match the provided filter.
*
* When scanning for a single device with a specifc {@link BluetoothDeviceFilter} mac
* address, bonded devices are also searched among. This allows to obtain the necessary app
* privileges even if the device is already paired.
*
* @param singleDevice if true, scanning for a device will stop as soon as at least one
* fitting device is found
*/