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

Commit f370177e authored by John Spurlock's avatar John Spurlock
Browse files

NoMan: Initialize filter value reported to listeners.

In addition to relying on change callbacks.

Bug: 19288429
Change-Id: Id54473e5fbb4eac3778781a2052ba0103076f8d1
parent c73cfa0f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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:");