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

Commit 550f621a authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Enhance documentation of WebSettings.WebSettings method

Add a note about WebView reloading the page if the UA string is change
during loading. See crbug.com/315891.

Bug: 22325430

Change-Id: I04f5ab703fd2dcedf0709e4aa1d17b1204df355b
parent 53d17aee
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1211,6 +1211,12 @@ public abstract class WebSettings {
    /**
     * Sets the WebView's user-agent string. If the string is null or empty,
     * the system default value will be used.
     *
     * Note that starting from {@link android.os.Build.VERSION_CODES#KITKAT} Android
     * version, changing the user-agent while loading a web page causes WebView
     * to initiate loading once again.
     *
     * @param ua new user-agent string
     */
    public abstract void setUserAgentString(String ua);