am 9a3ad590: am 1d280ee9: Merge "Accumulate updates to notifications before archiving." into jb-mr2-dev

* commit '9a3ad59050656f8c732d93f1d925e4bdf9535484':
  Accumulate updates to notifications before archiving.
This commit is contained in:
Daniel Sandler
2013-03-12 15:59:02 +00:00
committed by Android Git Automerger

View File

@@ -1255,9 +1255,6 @@ public class NotificationManagerService extends INotificationManager.Stub
sendAccessibilityEvent(notification, pkg);
}
// finally, keep some of this information around for later use
mArchive.record(n);
notifyPostedLocked(r);
} else {
Slog.e(TAG, "Ignoring notification with icon==0: " + notification);
@@ -1472,6 +1469,9 @@ public class NotificationManagerService extends INotificationManager.Stub
if (mLedNotification == r) {
mLedNotification = null;
}
// Save it for users of getHistoricalNotifications()
mArchive.record(r.sbn);
}
/**