From 52afe8b7945e49390492d18bf33cc26bf52f101c Mon Sep 17 00:00:00 2001 From: Alex Chau Date: Mon, 30 Sep 2024 13:01:33 +0100 Subject: [PATCH] Pass correct scrollDiff to translateTaskWhenDismissed - This is a follow-up of refactoring CL ag/29580515, which passed wrong parameter to a function Bug: 353948182 Test: manual Flag: EXEMPT REFACTOR Change-Id: I544f4142b1007c034f8e7364e48c32e6500e03f8 --- quickstep/src/com/android/quickstep/views/RecentsView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index a94f047764..3ae9bc823b 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -3800,7 +3800,7 @@ public abstract class RecentsView< translateTaskWhenDismissed( child, Math.abs(i - dismissedIndex), - mIsRtl ? -scrollDiff : scrollDiff, + scrollDiff, anim, splitTimings); needsCurveUpdates = true;