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
Loading
Please register or sign in to comment