am 1d280ee9: Merge "Accumulate updates to notifications before archiving." into jb-mr2-dev
* commit '1d280ee9583cc3b8e96f02fcf73cde484f29cc69': Accumulate updates to notifications before archiving.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user