Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36fc79e2 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android Git Automerger
Browse files

am 35a1a209: Merge "Include dnd status in bugreports." into mnc-dev

* commit '35a1a209':
  Include dnd status in bugreports.
parents d5fe5a8f 35a1a209
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1842,7 +1842,7 @@ public class NotificationManagerService extends SystemService {
        }
        pw.println(':');
        int N;
        final boolean zenOnly = filter != null && filter.zen;
        final boolean zenOnly = filter.filtered && filter.zen;

        if (!zenOnly) {
            synchronized (mToastQueue) {
@@ -1864,13 +1864,13 @@ public class NotificationManagerService extends SystemService {
                    pw.println("  Notification List:");
                    for (int i=0; i<N; i++) {
                        final NotificationRecord nr = mNotificationList.get(i);
                        if (filter != null && !filter.matches(nr.sbn)) continue;
                        if (filter.filtered && !filter.matches(nr.sbn)) continue;
                        nr.dump(pw, "    ", getContext(), filter.redact);
                    }
                    pw.println("  ");
                }

                if (filter == null) {
                if (!filter.filtered) {
                    N = mLights.size();
                    if (N > 0) {
                        pw.println("  Lights List:");
@@ -1911,7 +1911,7 @@ public class NotificationManagerService extends SystemService {
                mUsageStats.dump(pw, "    ", filter);
            }

            if (filter == null || zenOnly) {
            if (!filter.filtered || zenOnly) {
                pw.println("\n  Zen Mode:");
                pw.print("    mInterruptionFilter="); pw.println(mInterruptionFilter);
                mZenModeHelper.dump(pw, "    ");