summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joe Onorato <joeo@google.com> 2011-01-28 16:53:13 -0800
committer Joe Onorato <joeo@google.com> 2011-01-28 18:46:20 -0800
commitc6925ca684aaed981cc98cae50cf796231a56c0e (patch)
tree29e6fc7cbbfe31f79229a557717d9f6bb0885e37
parent957a189bf2b28b063d7268e38b6cdae3304f1ea7 (diff)
999
Bug: 3403177 Change-Id: Ib53098f364bb15249f27f89127e0d2a4daf81d6a
-rw-r--r--core/java/android/app/Notification.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index de84c566e5f7..5049e19ba7d8 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -927,9 +927,8 @@ public class Notification implements Parcelable
if (mContentInfo != null) {
contentView.setTextViewText(R.id.info, mContentInfo);
} else if (mNumber > 0) {
- if (mNumber > 100) {
- contentView.setTextViewText(R.id.info, mContext.getString(
- R.string.status_bar_notification_info_overflow));
+ if (mNumber > 999) {
+ contentView.setTextViewText(R.id.info, "999+");
} else {
NumberFormat f = NumberFormat.getIntegerInstance();
contentView.setTextViewText(R.id.info, f.format(mNumber));