|
|
@ -153,9 +153,9 @@ public class PluginOperateUtils { |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
|
PluginMarker pluginMarker = PluginUtils.createPluginMarker(pluginInfo); |
|
|
|
PluginMarker pluginMarker = PluginUtils.createPluginMarker(pluginInfo); |
|
|
|
PluginContext plugin = PluginManager.getContext(pluginMarker); |
|
|
|
PluginContext plugin = PluginManager.getContext(pluginMarker); |
|
|
|
boolean isRunning = plugin.isRunning() || plugin.isPrepare(); |
|
|
|
boolean running = plugin.isRunning() || plugin.isPrepare(); |
|
|
|
PluginTaskCallback modifyStatusCallback = new ModifyStatusCallback(isRunning, jsCallback); |
|
|
|
PluginTaskCallback modifyStatusCallback = new ModifyStatusCallback(running, jsCallback); |
|
|
|
changePluginActive(isRunning, pluginMarker, modifyStatusCallback, plugin); |
|
|
|
changePluginActive(running, pluginMarker, modifyStatusCallback, plugin); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|