Merge "Clarify the API documentation for WebSQL database." into jb-mr2-dev

This commit is contained in:
Selim Gurun
2013-03-01 21:46:41 +00:00
committed by Android (Google) Code Review

View File

@@ -1114,6 +1114,11 @@ public abstract class WebSettings {
* false. See also {@link #setDatabasePath} for how to correctly set up the
* database storage API.
*
* This setting is global in effect, across all WebView instances in a process.
* Note you should only modify this setting prior to making <b>any</b> WebView
* page load within a given process, as the WebView implementation may ignore
* changes to this setting after that point.
*
* @param flag true if the WebView should use the database storage API
*/
public synchronized void setDatabaseEnabled(boolean flag) {