Override desktop tasks corner radius during recents transition

Set the corner radius of desktop task surfaces to 0 during recents
transitions so that corner radius doesn't interfere with the surface
bounds and corner radius applied to the RemoteAnimationTarget leashes.

Bug: 378657004
Test: manual
Flag: com.android.window.flags.enable_desktop_recents_transitions_corners_bugfix

Change-Id: Ia653ace883cabfcd573ac138cb22affd96f7f229
This commit is contained in:
Gustav Sennton
2024-12-18 09:39:52 +00:00
parent 239745aae9
commit 3bec45cdee
16 changed files with 81 additions and 22 deletions

View File

@@ -370,7 +370,7 @@ public abstract class AbsSwipeUpHandlerTestCase<
private void onRecentsAnimationStart(SWIPE_HANDLER absSwipeUpHandler) {
runOnMainSync(() -> absSwipeUpHandler.onRecentsAnimationStart(
mRecentsAnimationController, mRecentsAnimationTargets));
mRecentsAnimationController, mRecentsAnimationTargets, /* transitionInfo= */null));
}
protected static void runOnMainSync(Runnable runnable) {