NoMan: Initialize filter value reported to listeners.
In addition to relying on change callbacks. Bug: 19288429 Change-Id: Id54473e5fbb4eac3778781a2052ba0103076f8d1
This commit is contained in:
@@ -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:");
|
||||
|
||||
Reference in New Issue
Block a user