commit | f0c25f953f9fc0fbc7062af9b50118e41937b2a7 | [log] [tgz] |
---|---|---|
author | lyn <lynhan@google.com> | Tue Aug 27 21:15:42 2024 +0000 |
committer | Lyn Han <lynhan@google.com> | Tue Aug 27 21:53:49 2024 +0000 |
tree | 3ccdb8610639124f577404af2d9cf174854e1281 | |
parent | 00bff4f6c0d5026fd7cdad4cf12473cafd4f31c0 [diff] |
Set initial value of cooldown setting to true Bug: 356768397 Test: manual - check that cooldown setting is on, turn airplane mode on and off, sending high priority notif => notif is suppressed Flag: com.android.systemui.notification_avalanche_suppression Change-Id: Ifee08c13d0184e24be65d54d27055f5c3d242727
diff --git a/packages/SystemUI/customization/src/com/android/systemui/shared/notifications/data/repository/NotificationSettingsRepository.kt b/packages/SystemUI/customization/src/com/android/systemui/shared/notifications/data/repository/NotificationSettingsRepository.kt index 362e23d..96d79df 100644 --- a/packages/SystemUI/customization/src/com/android/systemui/shared/notifications/data/repository/NotificationSettingsRepository.kt +++ b/packages/SystemUI/customization/src/com/android/systemui/shared/notifications/data/repository/NotificationSettingsRepository.kt
@@ -71,7 +71,7 @@ .stateIn( scope = backgroundScope, started = SharingStarted.Eagerly, - initialValue = false, + initialValue = true, ) /** The default duration for DND mode when enabled. See [Settings.Secure.ZEN_DURATION]. */