diff options
| author | 2024-06-05 13:22:19 +0000 | |
|---|---|---|
| committer | 2024-06-06 08:23:48 +0000 | |
| commit | 48f2781a77c48b78d34983cb31d246c80fa34124 (patch) | |
| tree | cf4ec8297c6405d56a1ff05114b461558fec2e01 /libs/androidfw/StringPool.cpp | |
| parent | d233902bcec701b3352cb5ab2eefe2de63ef2380 (diff) | |
Don't suppress pulsing notifications if we are already pulsing
When we receive a new alerting notification while we are already
pulsing, we make another request to DozeTriggers.requestPulse, which
rejects it, because we are already in a pulse state. This rejection
executes a callback, which removes our 2nd pulsing notification from the
alerting entries.
This CL allows calling DozeTriggers.requestPulse multiple times for new
notifications, without executing their suppression callback.
Fixes: 335560575
Test: atest DozeTriggersTest
Test: setup AOD, receive 2 pulsing notifications, check if the 2nd one
shows up
Flag: com.android.systemui.notification_pulsing_fix
Change-Id: I5e04e9d76ddf5df54ff05512b6645af29b9f238e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions