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

This commit is contained in:
Daniel Sandler
2012-05-07 05:58:55 -07:00
committed by Android (Google) Code Review

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;