* commit '36fc79e2f8f4b4e186dd7de4c646639c434f3e8b': Include dnd status in bugreports.
This commit is contained in:
@@ -1842,7 +1842,7 @@ public class NotificationManagerService extends SystemService {
|
|||||||
}
|
}
|
||||||
pw.println(':');
|
pw.println(':');
|
||||||
int N;
|
int N;
|
||||||
final boolean zenOnly = filter != null && filter.zen;
|
final boolean zenOnly = filter.filtered && filter.zen;
|
||||||
|
|
||||||
if (!zenOnly) {
|
if (!zenOnly) {
|
||||||
synchronized (mToastQueue) {
|
synchronized (mToastQueue) {
|
||||||
@@ -1864,13 +1864,13 @@ public class NotificationManagerService extends SystemService {
|
|||||||
pw.println(" Notification List:");
|
pw.println(" Notification List:");
|
||||||
for (int i=0; i<N; i++) {
|
for (int i=0; i<N; i++) {
|
||||||
final NotificationRecord nr = mNotificationList.get(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);
|
nr.dump(pw, " ", getContext(), filter.redact);
|
||||||
}
|
}
|
||||||
pw.println(" ");
|
pw.println(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter == null) {
|
if (!filter.filtered) {
|
||||||
N = mLights.size();
|
N = mLights.size();
|
||||||
if (N > 0) {
|
if (N > 0) {
|
||||||
pw.println(" Lights List:");
|
pw.println(" Lights List:");
|
||||||
@@ -1911,7 +1911,7 @@ public class NotificationManagerService extends SystemService {
|
|||||||
mUsageStats.dump(pw, " ", filter);
|
mUsageStats.dump(pw, " ", filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter == null || zenOnly) {
|
if (!filter.filtered || zenOnly) {
|
||||||
pw.println("\n Zen Mode:");
|
pw.println("\n Zen Mode:");
|
||||||
pw.print(" mInterruptionFilter="); pw.println(mInterruptionFilter);
|
pw.print(" mInterruptionFilter="); pw.println(mInterruptionFilter);
|
||||||
mZenModeHelper.dump(pw, " ");
|
mZenModeHelper.dump(pw, " ");
|
||||||
|
|||||||
Reference in New Issue
Block a user