summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-07-01 23:29:16 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-07-01 23:29:16 +0000
commitca019294b740c80bd8ca67cfa8fce7b66052f2bf (patch)
tree39d368d65842cb74dcfabaf527b7af21c874117c
parent0b9af379e7c94f6da023bbb34dd333a32412bfb2 (diff)
parent3e8f17d903bd5b0994a3664c6de6cc3fb77e328e (diff)
Merge "Timeout edu HUN after one day" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/CommonVisualInterruptionSuppressors.kt1
1 files changed, 1 insertions, 0 deletions
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)