Loading services/core/java/com/android/server/notification/NotificationManagerService.java +18 −12 Original line number Diff line number Diff line Loading @@ -718,6 +718,22 @@ public class NotificationManagerService extends SystemService { } } } void dumpImpl(PrintWriter pw, @NonNull DumpFilter filter) { synchronized (mBufferLock) { Iterator<Pair<StatusBarNotification, Integer>> iter = descendingIterator(); int i = 0; while (iter.hasNext()) { final StatusBarNotification sbn = iter.next().first; if (filter != null && !filter.matches(sbn)) continue; pw.println(" " + sbn); if (++i >= 5) { if (iter.hasNext()) pw.println(" ..."); break; } } } } } void loadDefaultApprovedServices(int userId) { Loading Loading @@ -5928,17 +5944,7 @@ public class NotificationManagerService extends SystemService { + mPreferencesHelper.shouldHideSilentStatusIcons()); } pw.println(" mArchive=" + mArchive.toString()); Iterator<Pair<StatusBarNotification, Integer>> iter = mArchive.descendingIterator(); int j=0; while (iter.hasNext()) { final StatusBarNotification sbn = iter.next().first; if (filter != null && !filter.matches(sbn)) continue; pw.println(" " + sbn); if (++j >= 5) { if (iter.hasNext()) pw.println(" ..."); break; } } mArchive.dumpImpl(pw, filter); if (!zenOnly) { N = mEnqueuedNotifications.size(); Loading Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +18 −12 Original line number Diff line number Diff line Loading @@ -718,6 +718,22 @@ public class NotificationManagerService extends SystemService { } } } void dumpImpl(PrintWriter pw, @NonNull DumpFilter filter) { synchronized (mBufferLock) { Iterator<Pair<StatusBarNotification, Integer>> iter = descendingIterator(); int i = 0; while (iter.hasNext()) { final StatusBarNotification sbn = iter.next().first; if (filter != null && !filter.matches(sbn)) continue; pw.println(" " + sbn); if (++i >= 5) { if (iter.hasNext()) pw.println(" ..."); break; } } } } } void loadDefaultApprovedServices(int userId) { Loading Loading @@ -5928,17 +5944,7 @@ public class NotificationManagerService extends SystemService { + mPreferencesHelper.shouldHideSilentStatusIcons()); } pw.println(" mArchive=" + mArchive.toString()); Iterator<Pair<StatusBarNotification, Integer>> iter = mArchive.descendingIterator(); int j=0; while (iter.hasNext()) { final StatusBarNotification sbn = iter.next().first; if (filter != null && !filter.matches(sbn)) continue; pw.println(" " + sbn); if (++j >= 5) { if (iter.hasNext()) pw.println(" ..."); break; } } mArchive.dumpImpl(pw, filter); if (!zenOnly) { N = mEnqueuedNotifications.size(); Loading