diff options
| author | 2022-10-12 00:28:25 -0400 | |
|---|---|---|
| committer | 2022-11-29 16:05:21 -0500 | |
| commit | 21ba4bf2dc07093b717b843e5e6f7abd610a2ab9 (patch) | |
| tree | c98b987bd7cc2f2c89cd3a019145a44f7a1841c8 /services/coverage/java | |
| parent | 05857f6045a22641ba5ba52b2c776ebf61c8a9b6 (diff) | |
Suppress HUNs for notifications with old whens
Right now, if a user turns their device (or work profile) on after it's
been off for a while, they can get flooded with visual interruptions
(like heads-up notifications) from 'stale' notifications -- recently
posted, but pertaining to something that happened over a day ago.
This change will, when the included feature flag is enabled, suppress
visual interruption for notifications with a 'when' field set more than
24 hours in the past.
Bug: 240552967
Bug: 253055301
Test: atest StatusBarNotificationPresenterTest
Change-Id: I6e8b29cd9865370fb5ad34d4b74e0f8a40e63229
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions