commit | aefcef1190c19570ef667949e5609ecd27a19019 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Wed Dec 13 18:16:28 2023 +0100 |
committer | Iavor-Valentin Iftime <valiiftime@google.com> | Fri Dec 29 11:15:02 2023 +0000 |
tree | 87818dcecf113d05426ba431426685d01e233f1e | |
parent | 66d709f9858096f1a5d1e31488b077e114f3347e [diff] |
Add cross-app notification cooldown Add a new cooldown strategy that applies to all notifications across apps. Adjust the original cooldown strategy to apply to all notifications per app instread of per channel. Except for channels that have user-set sounds. Adjust cooldown timers to: t1=60 seconds and t2=5 seconds. Test: atest NotificationAttentionHelperTest Bug: 270456865 Change-Id: I1a536c48d4cd9285aa0446d9f630e82667418f9d