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

Commit b89f4d5b authored by Victor Tan's avatar Victor Tan
Browse files

Update setUserAgentString API description

As we support override the uesr-agent metadata, updating setUserAgentString API description to line up the latest changes.

Change-Id: I3e8b3affd0b2f3e00a96060c1abee8efd8763e90
parent 5b58e85b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1367,7 +1367,10 @@ public abstract class WebSettings {
     * the system default value will be used.
     *
     * <p>If the user-agent is overridden in this way, the values of the User-Agent Client Hints
     * headers and {@code navigator.userAgentData} for this WebView will be empty.
     * headers and {@code navigator.userAgentData} for this WebView could be changed.
     * <p> See <a href="{@docRoot}reference/androidx/webkit/WebSettingsCompat
     * #setUserAgentMetadata(WebSettings,UserAgentMetadata)">androidx.webkit.WebSettingsCompat
     * #setUserAgentMetadata(WebSettings,UserAgentMetadata)</a> for details.
     *
     * <p>Note that starting from {@link android.os.Build.VERSION_CODES#KITKAT} Android
     * version, changing the user-agent while loading a web page causes WebView