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

Commit 62219034 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed warning on getWebDomain()

Test: ran 'm -j doc-comment-check-docs' and checked resulting HTML.
Bug: 66963249

Change-Id: If063961f41f297da1ed67e73616972f455edc117
parent 9b6ef6a8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1260,12 +1260,12 @@ public class AssistStructure implements Parcelable {
         * <p>Typically used when the view associated with the view is a container for an HTML
         * document.
         *
         * <strong>WARNING:</strong> a {@link android.service.autofill.AutofillService} should only
         * use this domain for autofill purposes when it trusts the app generating it (i.e., the app
         * defined by {@link AssistStructure#getActivityComponent()}).
         * <p><b>Warning:</b> an autofill service cannot trust the value reported by this method
         * without verifing its authenticity&mdash;see the "Web security" section of
         * {@link android.service.autofill.AutofillService} for more details.
         *
         * @return domain-only part of the document. For example, if the full URL is
         * {@code http://my.site/login?user=my_user}, it returns {@code my.site}.
         * {@code https://my.site/login?user=my_user}, it returns {@code my.site}.
         */
        @Nullable public String getWebDomain() {
            return mWebDomain;