Pass TransitionInfo from onTasksAppeared() to TransformParams

Pass the TransitionInfo of the merging recents-transition through to
TransformParams to allow setting the corner radius of desktop tasks to
zero during the second part of a recents transition.

Bug: 378657004
Flag: com.android.window.flags.enable_desktop_recents_transitions_corners_bugfix
Test: swipe up from fullscreen app to overview, then tap desktop tile

Change-Id: I08f87aa1b9a2feca9e9f8bed2c55279e0ddc1edb
This commit is contained in:
Gustav Sennton
2025-02-04 14:42:09 +00:00
parent bd93d0d4d3
commit 57ce690d4e
10 changed files with 39 additions and 23 deletions

View File

@@ -411,7 +411,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
@NonNull RemoteAnimationTarget[] nonAppTargets, boolean launcherClosing) {
TaskViewUtils.composeRecentsLaunchAnimator(anim, v, appTargets, wallpaperTargets,
nonAppTargets, launcherClosing, mLauncher.getStateManager(),
mLauncher.getOverviewPanel(), mLauncher.getDepthController());
mLauncher.getOverviewPanel(), mLauncher.getDepthController(),
/* transitionInfo= */ null);
}
private boolean areAllTargetsTranslucent(@NonNull RemoteAnimationTarget[] targets) {