mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
IJPL-165160 - Disable What's New in PC CE: more precise approach (LLM-13591)
(cherry picked from commit addf19d9b2a522c51dd10b674cd04e7caa3ce421) (cherry picked from commit 2c85753fc212a5dda2b16a8d238fc3744929b870) IJ-MR-151878 GitOrigin-RevId: 4fe605ef368077a0499e4b4c4443b44e9ade2e89
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b374d27df2
commit
683b622531
@@ -25,7 +25,6 @@ import com.intellij.openapi.util.text.HtmlChunk;
|
|||||||
import com.intellij.openapi.util.text.StringUtil;
|
import com.intellij.openapi.util.text.StringUtil;
|
||||||
import com.intellij.platform.ide.customization.ExternalProductResourceUrls;
|
import com.intellij.platform.ide.customization.ExternalProductResourceUrls;
|
||||||
import com.intellij.ui.ExperimentalUI;
|
import com.intellij.ui.ExperimentalUI;
|
||||||
import com.intellij.util.PlatformUtils;
|
|
||||||
import com.intellij.util.Url;
|
import com.intellij.util.Url;
|
||||||
import com.intellij.util.concurrency.AppExecutorUtil;
|
import com.intellij.util.concurrency.AppExecutorUtil;
|
||||||
import com.intellij.util.text.DateFormatUtil;
|
import com.intellij.util.text.DateFormatUtil;
|
||||||
@@ -179,9 +178,7 @@ class UpdateCheckerService {
|
|||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
static boolean shouldShowWhatsNew(@NotNull BuildNumber current, boolean majorEap) {
|
static boolean shouldShowWhatsNew(@NotNull BuildNumber current, boolean majorEap) {
|
||||||
if (ExperimentalUI.Companion.getForcedSwitchedUi() ||
|
if (ExperimentalUI.Companion.getForcedSwitchedUi()) {
|
||||||
// TODO this is done temporarily, see LLM-13591
|
|
||||||
(PlatformUtils.isIdeaCommunity() || PlatformUtils.isPyCharmCommunity()) && !ApplicationManager.getApplication().isUnitTestMode()) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
UpdateSettings settings = UpdateSettings.getInstance();
|
UpdateSettings settings = UpdateSettings.getInstance();
|
||||||
|
|||||||
Reference in New Issue
Block a user