mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Call the initial onResume() on a plugin when it is created. This corrects the lifecycle behavior for plugins.
This commit is contained in:
parent
0f988717d0
commit
a4d66c63a4
@ -217,6 +217,7 @@ public final class PluginManager {
|
||||
this.plugins.put(className, plugin);
|
||||
plugin.setContext(this.ctx);
|
||||
plugin.setView(this.app);
|
||||
plugin.onResume(true);
|
||||
return plugin;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user