forked from github/cordova-android
Remove cordova.xml fallback from Config.java (it was removed from PluginManager for 3.0)
This commit is contained in:
parent
16de12a3ba
commit
638fbfabdc
@ -70,11 +70,7 @@ public class Config {
|
|||||||
|
|
||||||
int id = action.getResources().getIdentifier("config", "xml", action.getClass().getPackage().getName());
|
int id = action.getResources().getIdentifier("config", "xml", action.getClass().getPackage().getName());
|
||||||
if (id == 0) {
|
if (id == 0) {
|
||||||
id = action.getResources().getIdentifier("cordova", "xml", action.getPackageName());
|
LOG.i("CordovaLog", "config.xml missing. Ignoring...");
|
||||||
LOG.i("CordovaLog", "config.xml missing, reverting to cordova.xml");
|
|
||||||
}
|
|
||||||
if (id == 0) {
|
|
||||||
LOG.i("CordovaLog", "cordova.xml missing. Ignoring...");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user