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

Skip to content
Commit 8816cbbe authored by Evan Rosky's avatar Evan Rosky
Browse files

update wallpaper window surfaces at same time as token

performSurfacePlacement "queues" prepareSurfaces onto the
next animation frame in WM. Since WallpaperWindowToken updates
its visibility in performSurfacePlacement, there is a gap
in time before the wallpaper windows themselves sync their
surface state.

At the same time, transition readiness is calculated in
performSurfacePlacement, so if both the wallpapreWindowToken
visibility and transition readiness happen together, there
is a race where wallpaper window is momentarily hidden.

This CL immediately updates wallpaper window surfaces
when visibility changes during performSurfacePcalement to
avoid this race.

Bug: 350712843
Test: Open circle-to-search, then use back-gesture to exit
Flag: EXEMPT bugfix
Change-Id: I1e90b4e9e5d36f6c529096ef6bf18a24e9d3013a
parent 93dab81b
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