Merge "Don't unbundle updated notifications." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
180aa65e20
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user