|
|
|
@ -70,7 +70,7 @@ public class PluginOperateUtils {
|
|
|
|
|
|
|
|
|
|
public static void updatePluginOnline(List<PluginMarker> pluginMarkerList, JSCallback jsCallback) { |
|
|
|
|
int size = pluginMarkerList.size(); |
|
|
|
|
BatchUpdateOnlineCallback batchUpdateOnlineCallback = new BatchUpdateOnlineCallback(jsCallback, size); |
|
|
|
|
BatchUpdateOnlineCallback batchUpdateOnlineCallback = size <= 1 ? BatchUpdateOnlineCallback.NONE : new BatchUpdateOnlineCallback(jsCallback, size); |
|
|
|
|
for (int i = 0; i < size; i++) { |
|
|
|
|
updatePluginOnline(pluginMarkerList.get(i), jsCallback, batchUpdateOnlineCallback); |
|
|
|
|
} |
|
|
|
|