summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2010-09-07 14:53:46 -0400
committerJoe Onorato <joeo@google.com>2010-09-07 14:53:46 -0400
commit935865923fdad9f47061ff0aedfe92d0b912d5d6 (patch)
treea394696f26b96bec2c7f91065185fff6b770d334 /packages/SystemUI/src
parentcbf16ebdabb2fb7d375d6adde596d438d06eda25 (diff)
parent07990cf209388d9d690d096514581b1cbb92959f (diff)
downloadframeworks_base-935865923fdad9f47061ff0aedfe92d0b912d5d6.zip
frameworks_base-935865923fdad9f47061ff0aedfe92d0b912d5d6.tar.gz
frameworks_base-935865923fdad9f47061ff0aedfe92d0b912d5d6.tar.bz2
resolved conflicts for merge of 07990cf2 to master
Change-Id: I62cc2d14820e4cbe80ea433caf323be2df1fb9a8
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java b/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java
index 33acecb..48243ff 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java
@@ -39,6 +39,7 @@ import android.os.Binder;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
+import android.text.TextUtils;
import android.util.Slog;
import android.util.Log;
import android.view.Display;
@@ -468,7 +469,11 @@ public class PhoneStatusBarService extends StatusBarService {
}
// Restart the ticker if it's still running
- tick(notification);
+ if (notification.notification.tickerText != null
+ && !TextUtils.equals(notification.notification.tickerText,
+ oldEntry.notification.notification.tickerText)) {
+ tick(notification);
+ }
// Recalculate the position of the sliding windows and the titles.
setAreThereNotifications();