Skip to content

Commit

Permalink
Phone: set notification number attribute for missed calls
Browse files Browse the repository at this point in the history
This will enable also the notification count overlay properly

PS2: remove tabs

Change-Id: I5f6aab49a8b072678013d3d389c06842f5439bb3
Signed-off-by: maxwen <max.weninger@gmail.com>
  • Loading branch information
maxwen committed May 15, 2013
1 parent ddc516e commit de9e2ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/android/phone/NotificationMgr.java
Expand Up @@ -548,6 +548,7 @@ private static void configureLedNotification(Notification note) {

Notification.Builder builder = new Notification.Builder(mContext);
builder.setSmallIcon(android.R.drawable.stat_notify_missed_call)
.setNumber(mMissedCalls.size())
.setTicker(mContext.getString(R.string.notification_missedCallTicker, callName))
.setWhen(date)
.setContentIntent(PendingIntent.getActivity(mContext, 0, callLogIntent, 0))
Expand Down

0 comments on commit de9e2ad

Please sign in to comment.