expire sticky balloons when hidden

This commit is contained in:
peter
2012-02-10 21:20:34 +01:00
parent a434a2807e
commit e728515599
@@ -154,7 +154,7 @@ public class NotificationsManagerImpl extends NotificationsManager implements No
case BALLOON:
default:
Balloon balloon = notifyByBalloon(notification, type, project);
if (!settings.isShouldLog()) {
if (!settings.isShouldLog() || type == NotificationDisplayType.STICKY_BALLOON) {
if (balloon == null) {
notification.expire();
} else {