Loading core/java/android/webkit/WebSettings.java +14 −0 Original line number Diff line number Diff line Loading @@ -181,6 +181,7 @@ public class WebSettings { private boolean mDatabaseEnabled = false; private String mAppCachePath = ""; private boolean mAppCacheEnabled = false; private long mAppCacheMaxSize = Long.MAX_VALUE; private boolean mDomStorageEnabled = false; // Class to handle messages before WebCore is ready. Loading Loading @@ -995,6 +996,19 @@ public class WebSettings { } } /** * Set the maximum size for the Application Caches content. * @param appCacheMaxSize the maximum size in bytes. * * @hide pending api council approval */ public synchronized void setAppCacheMaxSize(long appCacheMaxSize) { if (appCacheMaxSize != mAppCacheMaxSize) { mAppCacheMaxSize = appCacheMaxSize; postSync(); } } /** * Set whether the database storage API is enabled. * @param flag boolean True if the WebView should use the database storage Loading Loading
core/java/android/webkit/WebSettings.java +14 −0 Original line number Diff line number Diff line Loading @@ -181,6 +181,7 @@ public class WebSettings { private boolean mDatabaseEnabled = false; private String mAppCachePath = ""; private boolean mAppCacheEnabled = false; private long mAppCacheMaxSize = Long.MAX_VALUE; private boolean mDomStorageEnabled = false; // Class to handle messages before WebCore is ready. Loading Loading @@ -995,6 +996,19 @@ public class WebSettings { } } /** * Set the maximum size for the Application Caches content. * @param appCacheMaxSize the maximum size in bytes. * * @hide pending api council approval */ public synchronized void setAppCacheMaxSize(long appCacheMaxSize) { if (appCacheMaxSize != mAppCacheMaxSize) { mAppCacheMaxSize = appCacheMaxSize; postSync(); } } /** * Set whether the database storage API is enabled. * @param flag boolean True if the WebView should use the database storage Loading