Merge "Accumulate updates to notifications before archiving." into jb-mr2-dev

This commit is contained in:
Daniel Sandler
2013-03-12 15:53:44 +00:00
committed by Android (Google) Code Review

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);
}
/**