Merge "Don't unbundle updated notifications." into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-05-02 20:05:01 +00:00
committed by Android (Google) Code Review

View File

@@ -68,9 +68,7 @@ public final class Ranker extends NotificationRankerService {
if (notificationsForPackage == null) { if (notificationsForPackage == null) {
notificationsForPackage = new LinkedHashSet<>(); notificationsForPackage = new LinkedHashSet<>();
} }
if (notificationsForPackage.contains(sbn.getKey())) {
return;
}
notificationsForPackage.add(sbn.getKey()); notificationsForPackage.add(sbn.getKey());
mUnbundledNotifications.put(sbn.getPackageName(), notificationsForPackage); mUnbundledNotifications.put(sbn.getPackageName(), notificationsForPackage);