OSDN Git Service

Don't unbundle updated notifications.
[android-x86/frameworks-base.git] / packages / ExtServices / src / android / ext / services / notification / Ranker.java
index 3ef2aea..fefedf8 100644 (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);