From f370177e94782a3c2d141015fc0d0203f08799a0 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Thu, 12 Feb 2015 13:29:37 -0500 Subject: NoMan: Initialize filter value reported to listeners. In addition to relying on change callbacks. Bug: 19288429 Change-Id: Id54473e5fbb4eac3778781a2052ba0103076f8d1 --- .../com/android/server/notification/NotificationManagerService.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'services/core/java/com/android') diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index 02cacd9..f49d77d 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:"); -- cgit v1.1