diff options
| author | 2025-02-13 20:46:30 +0000 | |
|---|---|---|
| committer | 2025-02-14 06:08:49 -0800 | |
| commit | de70cf1a8ac4c81cda35b2c8b15f365ff5595df5 (patch) | |
| tree | 645c3ec4a129b3bea2449f95bbcb5fd78ca673bb /api/api_test.go | |
| parent | a4050465b2a20bcba5684c5bd6e39964d6ea3abb (diff) | |
[Notif] Implement a min display time of 3sec for pinned-by-user HUNs.
Pinned-by-user HUNs show up when a user taps the status bar notification
chip. Since that's clear user intent, keep that HUN around for at least
3 seconds before showing a new HUN.
Fixes: 388540989
Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips
Test: Tap promoted notification chip then immediately send a HUNing
notif -> verify promoted notification stays visible for 3 seconds before
new HUN shows up
Test: Spam normal notifications -> verify they still use the old 0.5
second minimum display time
Test: atest HeadsUpManagerImplTest
Change-Id: I2d2c73fd212da636f511bef023e73e7def075154
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions