mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[plugins] IJPL-173491 rename method
(cherry picked from commit 069780b3e5d56791317f3a786b330e4733ebf282) GitOrigin-RevId: eec58092aecbfb1b5a4d2a6386c6af19d6f92f1a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e94930ec00
commit
adde010afd
@@ -169,7 +169,7 @@ internal class PluginAutoUpdateService(private val cs: CoroutineScope) {
|
||||
"(${updatesState.size} updates are prepared in total)")
|
||||
}
|
||||
|
||||
fun onPluginUpdatesCheck(updates: List<PluginDownloader>) {
|
||||
fun onPluginUpdatesChecked(updates: List<PluginDownloader>) {
|
||||
LOG.debug { "onPluginUpdateCheck: ${updates.joinToString { it.pluginName }}" }
|
||||
val sent = pendingDownloads.trySend(updates)
|
||||
if (sent.isFailure) {
|
||||
|
||||
@@ -657,11 +657,11 @@ private fun doUpdateAndShowResult(
|
||||
// TODO revise this
|
||||
val pluginAutoUpdateService = service<PluginAutoUpdateService>()
|
||||
if (platformUpdates !is PlatformUpdates.Loaded) {
|
||||
pluginAutoUpdateService.onPluginUpdatesCheck(updatesForPlugins)
|
||||
pluginAutoUpdateService.onPluginUpdatesChecked(updatesForPlugins)
|
||||
} else {
|
||||
if (pluginAutoUpdateService.isAutoUpdateEnabled()) {
|
||||
val (pluginUpdates, _) = UpdateChecker.getInternalPluginUpdates(indicator = indicator)
|
||||
pluginAutoUpdateService.onPluginUpdatesCheck(nonIgnored(pluginUpdates.allEnabled))
|
||||
pluginAutoUpdateService.onPluginUpdatesChecked(nonIgnored(pluginUpdates.allEnabled))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user