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

Commit 01a387d6 authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

Update corner radius/shadow radius/box shadow only on transition-driven callback

This CL synchronizes updating some surface properties (e.g., corner
radius) with the transition animation.
Otherwise, due to non-transition callbacks (e.g., onTaskInfoChanged) the
property update can overtake the transition animation, which results in
flickering.
Unlike crop/position/visibility, these properties need to be set by
WindowDecor so we can’t consolidate it with the existing similar flag
`mSetTaskVisibilityPositionAndCrop`.

Bug: 409490498
Test: atest WindowDecorationTests
Flag: com.android.window.flags.enable_dynamic_radius_computation_bugfix
Flag: com.android.window.flags.enable_freeform_box_shadows

Change-Id: I4541a98ea4fe4ba317316dd31d76c9f0e7a6ee47
parent 2a029127
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