From d2c77361a2388d79fd9daad7b81fe17368776983 Mon Sep 17 00:00:00 2001 From: Alex Chau Date: Fri, 28 Feb 2025 14:19:36 +0000 Subject: [PATCH] Update live tile's pivot when ReccentsView's pivot is updated Fix: 397890144 Test: App to Overview, check live tile animation in 1) swipe up from bottom 2) Dismiss 3) Task launching Flag: com.android.launcher3.enable_grid_only_overview Change-Id: I143d8ca241505ab2f45c49348dc41885b364b859 --- quickstep/src/com/android/quickstep/views/RecentsView.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 44bf82c7b8..60d9c45700 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -4968,6 +4968,10 @@ public abstract class RecentsView< } setPivotX(mTempPointF.x); setPivotY(mTempPointF.y); + if (enableGridOnlyOverview()) { + runActionOnRemoteHandles(remoteTargetHandle -> + remoteTargetHandle.getTaskViewSimulator().setPivotOverride(mTempPointF)); + } } /**