Merge "Bluetooth: fix comment wording"

am: 6ba7c54a51

Change-Id: I745973b35e5d756072bff1d0958470dc0f55f6ca
This commit is contained in:
Jakub Pawlowski
2017-03-29 18:28:44 +00:00
committed by android-build-merger

View File

@@ -253,10 +253,10 @@ public final class AdvertisingSetParameters implements Parcelable {
/** /**
* Set whether the advertisement type should be connectable or * Set whether the advertisement type should be connectable or
* non-connectable. * non-connectable.
* Legacy advertisements can be both connectable and scannable. Other * Legacy advertisements must be both connectable and scannable. Nonlegacy
* advertisements can be connectable only if not scannable. * advertisements can be only scannable or only connectable.
* @param connectable Controls whether the advertisment type will be * @param connectable Controls whether the advertisment type will be
* connectable (true) or non-connectable (false). * connectable (true) or nonconnectable (false).
*/ */
public Builder setConnectable(boolean connectable) { public Builder setConnectable(boolean connectable) {
this.connectable = connectable; this.connectable = connectable;
@@ -264,11 +264,11 @@ public final class AdvertisingSetParameters implements Parcelable {
} }
/** /**
* Set whether the advertisement type should be scannable * Set whether the advertisement type should be scannable.
* Legacy advertisements can be both connectable and scannable. Other * Legacy advertisements must be both connectable and scannable. Nonlegacy
* advertisements can be scannable only if not connectable. * advertisements can be only scannable or only connectable.
* @param scannable Controls whether the advertisment type will be * @param scannable Controls whether the advertisment type will be
* scannable (true) or non-scannable (false). * scannable (true) or nonscannable (false).
*/ */
public Builder setScannable(boolean scannable) { public Builder setScannable(boolean scannable) {
this.scannable = scannable; this.scannable = scannable;