From 3e8f17d903bd5b0994a3664c6de6cc3fb77e328e Mon Sep 17 00:00:00 2001 From: Lyn Date: Wed, 26 Jun 2024 20:29:00 +0000 Subject: Timeout edu HUN after one day Bug: 342555873 Test: manual Flag: com.android.systemui.notification_avalanche_throttle_hun Change-Id: I974c993bd1293c7aff7ab32a87134ea23c2a22b9 --- .../notification/interruption/CommonVisualInterruptionSuppressors.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/CommonVisualInterruptionSuppressors.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/CommonVisualInterruptionSuppressors.kt index dac641f4cb23..5e91786e4160 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/CommonVisualInterruptionSuppressors.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/CommonVisualInterruptionSuppressors.kt @@ -381,6 +381,7 @@ class AvalancheSuppressor( .setContentText(textStr) .setSmallIcon(com.android.systemui.res.R.drawable.ic_settings) .setCategory(Notification.CATEGORY_SYSTEM) + .setTimeoutAfter(/* one day in ms */ 24 * 60 * 60 * 1000L) .setAutoCancel(true) .addAction(android.R.drawable.button_onoff_indicator_off, actionStr, pendingIntent) .setContentIntent(pendingIntent) -- cgit v1.2.3-59-g8ed1b