Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 234cda7d authored by Winson's avatar Winson
Browse files

Fix setDomainVerificationLinkHandlingAllowed docs

Updated with changes to the toggle behavior.

Bug: 181100855

Test: none, docs

Change-Id: Ia81866d2c3362b092aa3e75137c9e9e1020a9527
parent 2b0e2cee
Loading
Loading
Loading
Loading
+6 −7
Original line number Original line Diff line number Diff line
@@ -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 packageName is allowed to handle BROWSABLE and DEFAULT category web
     * Change whether the given {@param packageName} is allowed to automatically open verified
     * (HTTP/HTTPS) {@link Intent} Activity open requests. The final state is determined along with
     * HTTP/HTTPS domains. The final state is determined along with the verification status for the
     * the verification status for the specific domain being opened and other system state. An app
     * specific domain being opened and other system state. An app with this enabled is not
     * with this enabled is not guaranteed to be the sole link handler for its domains.
     * 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.
     * By default, all apps are allowed to open verified links. Users must disable them explicitly.
     */
     */
    @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION)
    @RequiresPermission(android.Manifest.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION)
    public void setDomainVerificationLinkHandlingAllowed(@NonNull String packageName,
    public void setDomainVerificationLinkHandlingAllowed(@NonNull String packageName,