mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
CB-4139: Seriously, we didn't deprecate this for a year? WTF?
This commit is contained in:
parent
f7014f14df
commit
85bad87c1c
@ -110,11 +110,6 @@ public class PluginManager {
|
|||||||
*/
|
*/
|
||||||
public void loadPlugins() {
|
public void loadPlugins() {
|
||||||
int id = this.ctx.getActivity().getResources().getIdentifier("config", "xml", this.ctx.getActivity().getPackageName());
|
int id = this.ctx.getActivity().getResources().getIdentifier("config", "xml", this.ctx.getActivity().getPackageName());
|
||||||
if(id == 0)
|
|
||||||
{
|
|
||||||
id = this.ctx.getActivity().getResources().getIdentifier("plugins", "xml", this.ctx.getActivity().getPackageName());
|
|
||||||
LOG.i(TAG, "Using plugins.xml instead of config.xml. plugins.xml will eventually be deprecated");
|
|
||||||
}
|
|
||||||
if (id == 0) {
|
if (id == 0) {
|
||||||
this.pluginConfigurationMissing();
|
this.pluginConfigurationMissing();
|
||||||
//We have the error, we need to exit without crashing!
|
//We have the error, we need to exit without crashing!
|
||||||
|
Loading…
Reference in New Issue
Block a user