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

am: 180aa65e20

* commit '180aa65e207dc8341c7d1ac665da414e6493172c':
  Don't unbundle updated notifications.

Change-Id: Ie1c531a1636b0e9bbfe89e4b0961a24a9e42c74e
This commit is contained in:
Julia Reynolds
2016-05-02 20:15:30 +00:00
committed by android-build-merger

View File

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