diff options
author | Mikhail Naganov <mnaganov@google.com> | 2015-07-09 16:53:35 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-09 16:53:38 +0000 |
commit | abb8dc97586cc15fa16bab7dd80ffe02a379550f (patch) | |
tree | b85be264b0b04aa18d5d4f2b62878b94f53910d6 /core | |
parent | 7d170797ac844124b013b77cc220ccf115db12b7 (diff) | |
parent | 550f621aaffb3e66fd023260f156df3be07e3ae8 (diff) | |
download | frameworks_base-abb8dc97586cc15fa16bab7dd80ffe02a379550f.zip frameworks_base-abb8dc97586cc15fa16bab7dd80ffe02a379550f.tar.gz frameworks_base-abb8dc97586cc15fa16bab7dd80ffe02a379550f.tar.bz2 |
Merge "Enhance documentation of WebSettings.WebSettings method" into mnc-dev
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/webkit/WebSettings.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index cfa347f..f62b4cc 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -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); |