diff options
-rw-r--r-- | src/org/chromium/webview_shell/WebViewBrowserActivity.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/org/chromium/webview_shell/WebViewBrowserActivity.java b/src/org/chromium/webview_shell/WebViewBrowserActivity.java index 0a7b637..cce295a 100644 --- a/src/org/chromium/webview_shell/WebViewBrowserActivity.java +++ b/src/org/chromium/webview_shell/WebViewBrowserActivity.java @@ -570,21 +570,17 @@ public class WebViewBrowserActivity extends Activity implements PopupMenu.OnMenu // but we still use it because we support api level 19 and up. @SuppressWarnings("deprecation") private void initializeSettings(WebSettings settings) { - File appcache = null; File geolocation = null; StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); - appcache = getDir("appcache", 0); geolocation = getDir("geolocation", 0); StrictMode.setThreadPolicy(oldPolicy); settings.setJavaScriptEnabled(true); // configure local storage apis and their database paths. - settings.setAppCachePath(appcache.getPath()); settings.setGeolocationDatabasePath(geolocation.getPath()); - settings.setAppCacheEnabled(true); settings.setGeolocationEnabled(true); settings.setDatabaseEnabled(true); settings.setDomStorageEnabled(true); |