diff options
author | Daniel Sandler <dsandler@android.com> | 2011-08-26 12:11:32 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-26 12:11:32 -0700 |
commit | 829559d28471871495c7681ab558fce22c0e73bb (patch) | |
tree | f8d6c2e4a99fef2de9cb91ea636940310e50fa25 /packages/SystemUI/src/com | |
parent | 9ebea5bd41f058b4734be5c30ea03b2e20d73c2e (diff) | |
parent | 2a58af37568dcae9f1910aa85974f8b474338da9 (diff) | |
download | frameworks_base-829559d28471871495c7681ab558fce22c0e73bb.zip frameworks_base-829559d28471871495c7681ab558fce22c0e73bb.tar.gz frameworks_base-829559d28471871495c7681ab558fce22c0e73bb.tar.bz2 |
Merge "Stop spamming the user with unchanged tickers."
Diffstat (limited to 'packages/SystemUI/src/com')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java index dd59667..2ab667d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java @@ -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); } |