diff options
| author | Winson <chiuwinson@google.com> | 2021-02-24 15:30:51 -0800 |
|---|---|---|
| committer | Winson <chiuwinson@google.com> | 2021-03-02 12:24:16 -0800 |
| commit | 234cda7d59e65f817fc9d3c2831adec1f04bbb15 (patch) | |
| tree | dcfe6a70d83fa996d51e3322958de084f8a87abd /core/java/android | |
| parent | 2b0e2cee2e1dfc8a9d49b16b3f64493da029ca10 (diff) | |
Fix setDomainVerificationLinkHandlingAllowed docs
Updated with changes to the toggle behavior.
Bug: 181100855
Test: none, docs
Change-Id: Ia81866d2c3362b092aa3e75137c9e9e1020a9527
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/pm/verify/domain/DomainVerificationManager.java | 13 |
1 files 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 29559b964b49..4df8d167e7d1 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. + * <p> + * 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, |
