summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2015-07-09 16:53:35 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-09 16:53:38 +0000
commitabb8dc97586cc15fa16bab7dd80ffe02a379550f (patch)
treeb85be264b0b04aa18d5d4f2b62878b94f53910d6 /core
parent7d170797ac844124b013b77cc220ccf115db12b7 (diff)
parent550f621aaffb3e66fd023260f156df3be07e3ae8 (diff)
downloadframeworks_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.java6
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);