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