Merge "Clear notifications properly on ACTION_USER_STOPPED." into jb-mr1-dev

This commit is contained in:
John Spurlock
2012-10-04 09:09:14 -07:00
committed by Android (Google) Code Review

View File

@@ -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;