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

Commit 48f2781a authored by András Kurucz's avatar András Kurucz
Browse files

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
parent d233902b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment