mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Fix broken unit test due to missing Config.init() call
This commit is contained in:
parent
62101e85ff
commit
a33cdc9c7b
@ -48,6 +48,7 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
|
||||
setContentView(R.layout.main);
|
||||
|
||||
cordovaWebView = (CordovaWebView) findViewById(R.id.cordovaWebView);
|
||||
Config.init(this);
|
||||
cordovaWebView.init(this, new CordovaWebViewClient(this, cordovaWebView), new CordovaChromeClient(this, cordovaWebView),
|
||||
Config.getPluginEntries(), Config.getWhitelist(), Config.getPreferences());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user