Include changes that happen when history is open

Test: manual
Fixes: 150202759
Change-Id: Ic05be6c5c85a16567556d3f3902f4d557a8e7c1f
This commit is contained in:
Julia Reynolds
2020-02-25 12:23:37 -05:00
parent 9f6351b596
commit 8b031276b7
2 changed files with 49 additions and 19 deletions

View File

@@ -108,6 +108,14 @@ public class NotificationSbnAdapter extends
notifyDataSetChanged();
}
public void addSbn(StatusBarNotification sbn) {
if (sbn.isGroup() && sbn.getNotification().isGroupSummary()) {
return;
}
mValues.add(0, sbn);
notifyDataSetChanged();
}
private @NonNull CharSequence loadPackageName(String pkg) {
try {
ApplicationInfo info = mPm.getApplicationInfo(pkg,