From 1aaf191972dd7f9069d061eda780bdbcda07f9fe Mon Sep 17 00:00:00 2001 From: Sergey Nikolaienkov Date: Wed, 9 Feb 2022 11:06:35 +0100 Subject: [PATCH] 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 --- core/java/android/companion/AssociationRequest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/java/android/companion/AssociationRequest.java b/core/java/android/companion/AssociationRequest.java index bd8ba9e03a100..257530b26eecf 100644 --- a/core/java/android/companion/AssociationRequest.java +++ b/core/java/android/companion/AssociationRequest.java @@ -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