From 2142d00bb964606d3c1d352a064dd33540f73611 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 8 May 2012 15:43:42 -0700 Subject: [PATCH] Added loadConfiguration to the standalone WebView --- framework/src/org/apache/cordova/CordovaWebView.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index b9ea21e2..46d1f312 100644 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -84,12 +84,16 @@ public class CordovaWebView extends WebView { public CordovaWebView(Context context, AttributeSet attrs) { super(context, attrs); mCtx = context; + preferences = new PreferenceSet(); + loadConfiguration(); setup(); } public CordovaWebView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); mCtx = context; + preferences = new PreferenceSet(); + loadConfiguration(); setup(); } @@ -97,6 +101,8 @@ public class CordovaWebView extends WebView { boolean privateBrowsing) { super(context, attrs, defStyle, privateBrowsing); mCtx = context; + preferences = new PreferenceSet(); + loadConfiguration(); setup(); }