[auto-trial] fix CME after IJPL-202845 'Trial has started' popup may get overlapped by notification balloons

(like 'npm install', 'plugin available, Windows Defender, SSL, and others)

All notification balloons are postponed until a user closes the 'Trial has started' Got It popup. This is a dirty and hacky fix, sorry. There are no better ideas at the moment

GitOrigin-RevId: 895704651db51bd6446e8f9685a98142bf12e3c2
This commit is contained in:
Alexander Doroshko
2025-08-22 20:54:30 +00:00
committed by intellij-monorepo-bot
parent 0c681189a6
commit 8c54d0d00d
@@ -176,8 +176,9 @@ public final class NotificationsManagerImpl extends NotificationsManager {
@IntellijInternalApi
public void resumeNotifications() {
if (myPostponedNotifications != null) {
myPostponedNotifications.forEach(pair -> showNotificationWithSpan(pair.first, pair.second));
List<Pair<Notification, @Nullable Project>> postponedNotifications = myPostponedNotifications;
myPostponedNotifications = null;
postponedNotifications.forEach(pair -> showNotificationWithSpan(pair.first, pair.second));
}
}