package com.rhomobile.rhodes.webview;

import com.rhomobile.rhodes.extmanager.IRhoWebViewConfig;

import android.webkit.WebSettings;

public class WebSettingsProviderEclairMR1 extends WebSettingsProviderEclair implements IWebSettingsProvider {
    public void fillSettings(WebSettings settings, IRhoWebViewConfig config) {
        super.fillSettings(settings, config);
        settings.setAppCacheEnabled(true);
        settings.setDomStorageEnabled(true);
    }
}
@@ -110,26 +110,107 @@
 oid.
-webkit.WebSettings
+content.Context;%0Aimport android.webkit.WebSettings;%0Aimport com.rhomobile.rhodes.util.ContextFactory
 ;%0A%0Ap
@@ -443,16 +443,222 @@
 onfig);%0A
+        settings.setAppCacheMaxSize(5 * 1048576);%0A        String pathToCache = ContextFactory.getContext().getDir(%22database%22, Context.MODE_PRIVATE).getPath();%0A        settings.setAppCachePath(pathToCache);%0A
         
@@ -688,24 +688,25 @@
 bled(true);%0A
+%0A
         sett

add settings.setAppCachePath to web view settings