mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 23:25:11 +08:00
Make private PluginManager.clearPluginObjects, .startupPlugins
This commit is contained in:
parent
a03fdaba39
commit
a99c8219bd
@ -82,19 +82,10 @@ public class PluginManager {
|
|||||||
this.startupPlugins();
|
this.startupPlugins();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Delete all plugin objects.
|
|
||||||
*/
|
|
||||||
@Deprecated // Should not be exposed as public.
|
|
||||||
public void clearPluginObjects() {
|
|
||||||
pluginMap.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create plugins objects that have onload set.
|
* Create plugins objects that have onload set.
|
||||||
*/
|
*/
|
||||||
@Deprecated // Should not be exposed as public.
|
private void startupPlugins() {
|
||||||
public void startupPlugins() {
|
|
||||||
for (PluginEntry entry : entryMap.values()) {
|
for (PluginEntry entry : entryMap.values()) {
|
||||||
if (entry.onload) {
|
if (entry.onload) {
|
||||||
getPlugin(entry.service);
|
getPlugin(entry.service);
|
||||||
|
Loading…
Reference in New Issue
Block a user