package com.rhomobile.rhodes.webview;

import android.webkit.WebSettings;

import com.rhomobile.rhodes.Logger;
import com.rhomobile.rhodes.extmanager.IRhoConfig;

public class WebSettingsProviderJellyBean extends WebSettingsProviderFroyo implements IWebSettingsProvider {
    public void fillSettings(WebSettings settings, IRhoConfig config) {
        super.fillSettings(settings, config);
        Logger.I(TAG, "Allow universal access from file URL");
        settings.setAllowUniversalAccessFromFileURLs(true);
    }
}
@@ -66,16 +66,53 @@
 ettings;
+%0Aimport android.webkit.CookieManager;
 %0A%0Aimport
@@ -543,15 +543,71 @@
 (true);%0A
+        CookieManager.setAcceptFileSchemeCookies(true);%0A
     %7D%0A%7D

enable cookies for file protocol URL