mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
No statistics about active users if IDE run under Toolbox App or Snap
GitOrigin-RevId: c0e07634ac6349fd5da8bc8047f68a59e7c15bd8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2c932b7da7
commit
dcf205bf0d
+3
-4
@@ -165,10 +165,9 @@ object UpdateChecker {
|
||||
updateInfo = HttpRequests.request(updateUrl)
|
||||
.connect {
|
||||
try {
|
||||
if (settings.isPlatformUpdateEnabled)
|
||||
UpdatesInfo(JDOMUtil.load(it.reader))
|
||||
else
|
||||
null
|
||||
//We should ping update server anyway
|
||||
val updatesInfo = UpdatesInfo(JDOMUtil.load(it.reader))
|
||||
if (settings.isPlatformUpdateEnabled) updatesInfo else null
|
||||
}
|
||||
catch (e: JDOMException) {
|
||||
// corrupted content, don't bother telling user
|
||||
|
||||
Reference in New Issue
Block a user