am fafce1f9: Merge "Add number back to legacy notifications." into jb-dev

* commit 'fafce1f9f5b371c76cd7875a58b183093f8b517f':
  Add number back to legacy notifications.
This commit is contained in:
Daniel Sandler
2012-05-07 06:01:00 -07:00
committed by Android Git Automerger

View File

@@ -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;