Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a58af37 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Stop spamming the user with unchanged tickers.

Bug: 5217613
Change-Id: I63e9a9853803ff770155f1c69e09e5d3e57f2abf
parent 359ef798
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -879,12 +879,11 @@ public class TabletStatusBar extends StatusBar implements
            removeNotificationViews(key);
            addNotificationViews(key, notification);
        }
        // fullScreenIntent doesn't happen on updates.  You need to clear & repost a new
        // notification.
        final boolean immersive = isImmersive();
        if (false && immersive) {
            // TODO: immersive mode
        } else {

        // Restart the ticker if it's still running
        if (notification.notification.tickerText != null
                && !TextUtils.equals(notification.notification.tickerText,
                    oldEntry.notification.notification.tickerText)) {
            tick(key, notification, false);
        }