diff options
| author | 2024-07-01 23:29:16 +0000 | |
|---|---|---|
| committer | 2024-07-01 23:29:16 +0000 | |
| commit | ca019294b740c80bd8ca67cfa8fce7b66052f2bf (patch) | |
| tree | 39d368d65842cb74dcfabaf527b7af21c874117c | |
| parent | 0b9af379e7c94f6da023bbb34dd333a32412bfb2 (diff) | |
| parent | 3e8f17d903bd5b0994a3664c6de6cc3fb77e328e (diff) | |
Merge "Timeout edu HUN after one day" into main
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/CommonVisualInterruptionSuppressors.kt | 1 |
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) |