Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfb8a7b1 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 3fe2cb4d: Merge "Don\'t cancel any notifications that are meant for all...

am 3fe2cb4d: Merge "Don\'t cancel any notifications that are meant for all users, if no package is specified." into jb-mr1-dev

* commit '3fe2cb4d':
  Don't cancel any notifications that are meant for all users, if no package is specified.
parents 1e29e49c 3fe2cb4d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1261,6 +1261,10 @@ public class NotificationManagerService extends INotificationManager.Stub
                if (!notificationMatchesUserId(r, userId)) {
                    continue;
                }
                // Don't remove notifications to all, if there's no package name specified
                if (r.userId == UserHandle.USER_ALL && pkg == null) {
                    continue;
                }
                if ((r.notification.flags & mustHaveFlags) != mustHaveFlags) {
                    continue;
                }