summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2024-07-25 16:17:48 -0700
committer Evan Rosky <erosky@google.com> 2024-07-30 13:18:50 -0700
commit8816cbbe612bc6e186f01fb881023743eb0536bd (patch)
tree434c6debb0e892cc5f0bf48b5fc08b28e3b40321 /api/api_test.go
parent93dab81bd4060401665b0e75f76a828aadd466ae (diff)
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions