Update javadoc for set/isForceConfirmation() in CDM

Replace "would prefer" with stronger language - "requires" - in the
javadoc to AssociationRequest.Builder.setForceConfirmation(boolean) and
AssociationRequest.isForceConfirmation().

Bug: 217366132
Test: m
Change-Id: I7d94598d71a39fc022927634975706ccffeac406
This commit is contained in:
Sergey Nikolaienkov
2022-02-09 11:06:35 +01:00
parent 22fba15a4a
commit 1aaf191972

View File

@@ -260,9 +260,9 @@ public final class AssociationRequest implements Parcelable {
}
/**
* Indicates that the application would prefer the CompanionDeviceManager to collect an explicit
* confirmation from the user before creating an association, even if such confirmation is not
* required.
* Indicates whether the application requires the {@link CompanionDeviceManager} service to
* collect an explicit confirmation from the user before creating an association, even if
* such confirmation is not required from the service's perspective.
*
* @see Builder#setForceConfirmation(boolean)
*/
@@ -391,9 +391,9 @@ public final class AssociationRequest implements Parcelable {
}
/**
* Indicates whether the application would prefer the CompanionDeviceManager to collect an
* explicit confirmation from the user before creating an association, even if such
* confirmation is not required.
* Indicates whether the application requires the {@link CompanionDeviceManager} service to
* collect an explicit confirmation from the user before creating an association, even if
* such confirmation is not required from the service's perspective.
*/
@RequiresPermission(REQUEST_COMPANION_SELF_MANAGED)
@NonNull