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

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

[Fold to AOD animation] part 3: do not collapse notification shade and delay doze display mode

Fixes a few issues with fold to AOD animation:

1) Sometimes when folding a foldable device and showing AOD
we see the underlying app (launcher/wallpaper)
for 1-2 seconds. It happens because the system
sends 'hide system dialogs' broadcast when starting
dreaming which collapses and hides the notification shade.
We need the notification shade in expanded state to show
the scrims and AOD UI. Added ignoring of collapsing when
fold to AOD animation is hapenning.

2) When folding from unlocked state the animation was
playing with reduced FPS (the display was going into
doze mode). Added delay for going into doze mode
when animation is about to happen.

Bug: 202844967
Test: fold/unfold when locked/unlocked
Test: power button screen off from locked/unlocked states
Change-Id: I2af5e4965ef7db234a1931ca442640c96000ec56
parent 165edbb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment