mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +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();
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete all plugin objects.
|
||||
*/
|
||||
@Deprecated // Should not be exposed as public.
|
||||
public void clearPluginObjects() {
|
||||
pluginMap.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create plugins objects that have onload set.
|
||||
*/
|
||||
@Deprecated // Should not be exposed as public.
|
||||
public void startupPlugins() {
|
||||
private void startupPlugins() {
|
||||
for (PluginEntry entry : entryMap.values()) {
|
||||
if (entry.onload) {
|
||||
getPlugin(entry.service);
|
||||
|
Loading…
Reference in New Issue
Block a user