Merge "Clear notifications properly on ACTION_USER_STOPPED." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1205d16e02
@@ -1240,7 +1240,7 @@ public class NotificationManagerService extends INotificationManager.Stub
|
||||
if ((r.notification.flags & mustNotHaveFlags) != 0) {
|
||||
continue;
|
||||
}
|
||||
if (!r.pkg.equals(pkg)) {
|
||||
if (pkg != null && !r.pkg.equals(pkg)) {
|
||||
continue;
|
||||
}
|
||||
canceledSomething = true;
|
||||
|
||||
Reference in New Issue
Block a user