Fix janky close animation when taskbar is unstashed

- Updated startRect for close animation when taskbar is unstashed

Fix: 258167450
Test: Use back gesture to close app when taskbarw is stashed or unstashed
Change-Id: I56913c2770024bcb47a74c28941bc59f60b4666b
This commit is contained in:
Alex Chau committed 2022-11-17 10:57:40 +00:00
1 parent 47bea3eb5b
commit aee9c12a8b
1 file changed
+3 -2
@@ -1677,9 +1677,10 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
mLauncher.getStateManager().moveToRestState();
}
RectF windowTargetBounds =
new RectF(getWindowTargetBounds(appTargets, getRotationChange(appTargets)));
Pair<RectFSpringAnim, AnimatorSet> pair = createWallpaperOpenAnimations(
appTargets, wallpaperTargets, mFromUnlock,
new RectF(0, 0, mDeviceProfile.widthPx, mDeviceProfile.heightPx),
appTargets, wallpaperTargets, mFromUnlock, windowTargetBounds,
QuickStepContract.getWindowCornerRadius(mLauncher));
mLauncher.clearForceInvisibleFlag(INVISIBLE_ALL);