Added loadConfiguration to the standalone WebView

This commit is contained in:
Joe Bowser 2012-05-08 15:43:42 -07:00
parent 4ce585be02
commit 2142d00bb9

View File

@ -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();
}