[plugins] IJPL-173491 rename method

(cherry picked from commit 069780b3e5d56791317f3a786b330e4733ebf282)

GitOrigin-RevId: eec58092aecbfb1b5a4d2a6386c6af19d6f92f1a
This commit is contained in:
Vadim Salavatov
2025-01-16 16:11:43 +01:00
committed by intellij-monorepo-bot
parent e94930ec00
commit adde010afd
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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))
}
}