diff options
-rw-r--r-- | core/java/android/app/Notification.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 8f4efab..763cc10 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -806,6 +806,10 @@ public class Notification implements Parcelable contentView.setViewVisibility(R.id.time, View.VISIBLE); contentView.setLong(R.id.time, "setTime", when); } + if (this.number != 0) { + NumberFormat f = NumberFormat.getIntegerInstance(); + contentView.setTextViewText(R.id.info, f.format(this.number)); + } this.contentView = contentView; this.contentIntent = contentIntent; |