Add a view type check to ensure the right animation is used.

Bug: 265134143
Test: recorded perfetto trace, see bug
Change-Id: If6abc36f0f43c6bb632fc824c19717c1231b32dc
This commit is contained in:
Luca Zuccarini
2023-04-03 17:29:55 +00:00
parent b9f04842b5
commit 2449a01b22

View File

@@ -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 */);