CB-7238: I should have collapsed this, but Config.init() must go before the creation of CordovaWebView

This commit is contained in:
Joe Bowser 2014-07-31 09:23:14 -07:00
parent 3d191d5884
commit 48b51c451a

View File

@ -51,7 +51,6 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
Config.init(this); Config.init(this);
cordovaWebView = (CordovaWebView) findViewById(R.id.cordovaWebView); cordovaWebView = (CordovaWebView) findViewById(R.id.cordovaWebView);
Config.init(this);
cordovaWebView.init(this, new CordovaWebViewClient(this, cordovaWebView), new CordovaChromeClient(this, cordovaWebView), cordovaWebView.init(this, new CordovaWebViewClient(this, cordovaWebView), new CordovaChromeClient(this, cordovaWebView),
Config.getPluginEntries(), Config.getWhitelist(), Config.getPreferences()); Config.getPluginEntries(), Config.getWhitelist(), Config.getPreferences());