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

Skip to content
Commit 683c371c authored by András Kurucz's avatar András Kurucz
Browse files

[flexiglass] Hydrate dozeAmount with AOD and DOZE transitions

Previously dozeAmount was updated based on a flow of AOD transitions,
which we converted to callbacks, which we converted back to a flow.
The flow-callback-flow conversion was working, but reacting only to AOD
transitions was not enough, because device is still dozing while it is
in low-power mode and nothing is displayed (KeyguardState.DOZING).

This was leaving the dozeAmount at `0` while KeyguardState.DOZING was
happening, which caused the NSSL to show the full Notification Stack,
while a Notification was Pulsing.

This CL moves determining the dozeAmount to KeuguardInteractor, and
hydrates it with DOZE, and AOD transitions.

Fixes: 363981730
Test: manual: check Pulsing and AOD Notifications
Flag: com.android.systemui.scene_container
Change-Id: I5b64ce7e0518d342f2acc5d31cf8d9f662178ca4
parent 5b3b93fc
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