Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e8f17d9 authored by Lyn's avatar Lyn
Browse files

Timeout edu HUN after one day

Bug: 342555873
Test: manual
Flag: com.android.systemui.notification_avalanche_throttle_hun
Change-Id: I974c993bd1293c7aff7ab32a87134ea23c2a22b9
parent c6a5ad6a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)