summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-02-12 22:52:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-12 22:52:13 +0000
commitf45e5dbf599a0043d7f6576f20eafb2c1c157204 (patch)
treea5b0c7a62990f5e23c1fc8f25d2c6fabba1e8fa7
parentb2ff8d9a3e5f279e7a60a12f9192e43081e2eef9 (diff)
parentf370177e94782a3c2d141015fc0d0203f08799a0 (diff)
downloadbase-f45e5dbf599a0043d7f6576f20eafb2c1c157204.tar.gz
Merge "NoMan: Initialize filter value reported to listeners." into lmp-mr1-dev
-rw-r--r--services/core/java/com/android/server/notification/NotificationManagerService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java
index 02cacd9affb6..f49d77d41899 100644
--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -931,6 +931,7 @@ public class NotificationManagerService extends SystemService {
mDisableNotificationEffects = true;
}
mZenModeHelper.readZenModeFromSetting();
+ mInterruptionFilter = mZenModeHelper.getZenModeListenerInterruptionFilter();
mUserProfiles.updateCache(getContext());
listenForCallState();
@@ -1671,6 +1672,7 @@ public class NotificationManagerService extends SystemService {
if (filter == null || zenOnly) {
pw.println("\n Zen Mode:");
+ pw.print(" mInterruptionFilter="); pw.println(mInterruptionFilter);
mZenModeHelper.dump(pw, " ");
pw.println("\n Zen Log:");