mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 09:02:50 +08:00
CB-7238: I should have collapsed this, but Config.init() must go before the creation of CordovaWebView
This commit is contained in:
parent
3d191d5884
commit
48b51c451a
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user