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

Skip to content
Commit 74972567 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

Fix flashing when folding to AOD

LightRevealScrimInteractor was launching
scrim animation when folding to AOD
which lasts 500ms. This was causing the content
behind the notifications shade to be sometimes
visible momentarily right after folding.

Updated the logic to immediately set
scrim progress to '0' when folding to AOD.
This allows to update the scrim 500ms earlier,
which reduces the chances to see the content
behind the shade after folding.

Fixes: 357169978
Test: atest LightRevealScrimInteractorTest
Test: fold multiple times manually
Flag: EXEMPT bugfix
Change-Id: I0a95baa245da58f50449ccfa7692e80252548c91
parent aad11054
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