From 2449a01b226a213d69c2fe50df2dfabe0aa5700a Mon Sep 17 00:00:00 2001 From: Luca Zuccarini Date: Mon, 3 Apr 2023 17:29:55 +0000 Subject: [PATCH] Add a view type check to ensure the right animation is used. Bug: 265134143 Test: recorded perfetto trace, see bug Change-Id: If6abc36f0f43c6bb632fc824c19717c1231b32dc --- .../src/com/android/launcher3/QuickstepTransitionManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java index 977163b8b0..96d57ee0b2 100644 --- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java +++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java @@ -1785,7 +1785,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener viewToUse = v; } - // TODO(b/265134143): create a CUJ type for interaction jank monitoring. + // The CUJ is logged by the click handler, so we don't log it inside the animation + // library. ActivityLaunchAnimator.Controller controllerDelegate = ActivityLaunchAnimator.Controller.fromView(viewToUse, null /* cujType */);