Merge "Enhance documentation of WebSettings.WebSettings method" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
abb8dc9758
@@ -1211,6 +1211,12 @@ public abstract class WebSettings {
|
|||||||
/**
|
/**
|
||||||
* Sets the WebView's user-agent string. If the string is null or empty,
|
* Sets the WebView's user-agent string. If the string is null or empty,
|
||||||
* the system default value will be used.
|
* 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);
|
public abstract void setUserAgentString(String ua);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user