Fix broken unit test due to missing Config.init() call

This commit is contained in:
Andrew Grieve 2014-07-14 14:06:47 -04:00
parent 62101e85ff
commit a33cdc9c7b

View File

@ -48,6 +48,7 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
setContentView(R.layout.main); setContentView(R.layout.main);
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());