Don't block notifications from system packages.

Bug: 16703366
Change-Id: Id2f635e4e99df0c10afff8a0f5130179d381762c
This commit is contained in:
Dan Sandler
2014-09-03 16:48:13 +02:00
parent 7641e1ad44
commit d283f0fbd5
2 changed files with 8 additions and 3 deletions

View File

@@ -351,7 +351,6 @@ public class NotificationAppList extends PinnedHeaderListFragment
public boolean priority;
public boolean sensitive;
public boolean first; // first app in section
public boolean isSystem;
}
private static final Comparator<AppRow> mRowComparator = new Comparator<AppRow>() {
@@ -377,7 +376,6 @@ public class NotificationAppList extends PinnedHeaderListFragment
row.banned = backend.getNotificationsBanned(row.pkg, row.uid);
row.priority = backend.getHighPriority(row.pkg, row.uid);
row.sensitive = backend.getSensitive(row.pkg, row.uid);
row.isSystem = Utils.isSystemPackage(pm, pkg);
return row;
}