OSDN Git Service

Merge "NoMan: Initialize filter value reported to listeners." into lmp-mr1-dev
authorJohn Spurlock <jspurlock@google.com>
Thu, 12 Feb 2015 22:52:12 +0000 (22:52 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 12 Feb 2015 22:52:13 +0000 (22:52 +0000)
services/core/java/com/android/server/notification/NotificationManagerService.java

index 02cacd9..f49d77d 100644 (file)
@@ -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:");