Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ListDumper.java +2 −1 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ public class ListDumper { ) { sb.append(indent) .append("[").append(index).append("] ") .append(index.length() == 1 ? " " : "") .append(entry.getKey()); if (includeParent) { Loading Loading @@ -192,7 +193,7 @@ public class ListDumper { if (notifEntry.getAttachState().getSuppressedChanges().getSection() != null) { rksb.append("suppressedSection=") .append(notifEntry.getAttachState().getSuppressedChanges() .getSection()) .getSection().getLabel()) .append(" "); } Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotifCollection.java +3 −4 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; Loading Loading @@ -829,11 +830,9 @@ public class NotifCollection implements Dumpable { @Override public void dump(PrintWriter pw, @NonNull String[] args) { final List<NotificationEntry> entries = new ArrayList<>(getAllNotifs()); entries.sort(Comparator.comparing(NotificationEntry::getKey)); pw.println("\t" + TAG + " unsorted/unfiltered notifications:"); if (entries.size() == 0) { pw.println("\t\t None"); } pw.println("\t" + TAG + " unsorted/unfiltered notifications: " + entries.size()); pw.println( ListDumper.dumpList( entries, Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ListDumper.java +2 −1 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ public class ListDumper { ) { sb.append(indent) .append("[").append(index).append("] ") .append(index.length() == 1 ? " " : "") .append(entry.getKey()); if (includeParent) { Loading Loading @@ -192,7 +193,7 @@ public class ListDumper { if (notifEntry.getAttachState().getSuppressedChanges().getSection() != null) { rksb.append("suppressedSection=") .append(notifEntry.getAttachState().getSuppressedChanges() .getSection()) .getSection().getLabel()) .append(" "); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/NotifCollection.java +3 −4 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; Loading Loading @@ -829,11 +830,9 @@ public class NotifCollection implements Dumpable { @Override public void dump(PrintWriter pw, @NonNull String[] args) { final List<NotificationEntry> entries = new ArrayList<>(getAllNotifs()); entries.sort(Comparator.comparing(NotificationEntry::getKey)); pw.println("\t" + TAG + " unsorted/unfiltered notifications:"); if (entries.size() == 0) { pw.println("\t\t None"); } pw.println("\t" + TAG + " unsorted/unfiltered notifications: " + entries.size()); pw.println( ListDumper.dumpList( entries, Loading