From 234cda7d59e65f817fc9d3c2831adec1f04bbb15 Mon Sep 17 00:00:00 2001 From: Winson Date: Wed, 24 Feb 2021 15:30:51 -0800 Subject: [PATCH] Fix setDomainVerificationLinkHandlingAllowed docs Updated with changes to the toggle behavior. Bug: 181100855 Test: none, docs Change-Id: Ia81866d2c3362b092aa3e75137c9e9e1020a9527 --- .../pm/verify/domain/DomainVerificationManager.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/core/java/android/content/pm/verify/domain/DomainVerificationManager.java b/core/java/android/content/pm/verify/domain/DomainVerificationManager.java index 29559b964b499..4df8d167e7d16 100644 --- a/core/java/android/content/pm/verify/domain/DomainVerificationManager.java +++ b/core/java/android/content/pm/verify/domain/DomainVerificationManager.java @@ -278,13 +278,12 @@ public final class DomainVerificationManager { } /** - * TODO(b/178525735): This documentation is incorrect in the context of UX changes. - * Change whether the given {@param packageName} is allowed to automatically open verified - * HTTP/HTTPS domains. The final state is determined along with the verification status for the - * specific domain being opened and other system state. An app with this enabled is not - * guaranteed to be the sole link handler for its domains. - * - * By default, all apps are allowed to open verified links. Users must disable them explicitly. + * Change whether the given packageName is allowed to handle BROWSABLE and DEFAULT category web + * (HTTP/HTTPS) {@link Intent} Activity open requests. The final state is determined along with + * the verification status for the specific domain being opened and other system state. An app + * with this enabled is not guaranteed to be the sole link handler for its domains. + *

+ * By default, all apps are allowed to open links. Users must disable them explicitly. */ @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION) public void setDomainVerificationLinkHandlingAllowed(@NonNull String packageName,