OSDN Git Service

Return everything but an autogroup summary.
authorJulia Reynolds <juliacr@google.com>
Tue, 12 Apr 2016 15:16:37 +0000 (11:16 -0400)
committerJulia Reynolds <juliacr@google.com>
Tue, 12 Apr 2016 15:28:48 +0000 (11:28 -0400)
Bug: 28132467
Change-Id: I9a6df6d3e876af00a9ef6fc8ed702ed8342c751a

services/core/java/com/android/server/notification/NotificationManagerService.java

index 2765578..f75711d 100644 (file)
@@ -1496,7 +1496,7 @@ public class NotificationManagerService extends SystemService {
                     final StatusBarNotification sbn = mNotificationList.get(i).sbn;
                     if (sbn.getPackageName().equals(pkg) && sbn.getUserId() == userId
                             && (sbn.getNotification().flags
-                            & Notification.FLAG_AUTOGROUP_SUMMARY) != 0) {
+                            & Notification.FLAG_AUTOGROUP_SUMMARY) == 0) {
                         // We could pass back a cloneLight() but clients might get confused and
                         // try to send this thing back to notify() again, which would not work
                         // very well.