Add interaction jank monitoring for widget app launch CUJ

Instrument the widget app launch animation with interaction jank monitoring.

Bug: 169042867
Test: presubmit
Change-Id: Icc9c7cceee7950272fa5d58e0a2f18efc022ce69
This commit is contained in:
Cyrus Boadway
2021-05-07 13:29:11 +00:00
parent 5160385a0b
commit e2ea1f3f33

View File

@@ -1260,7 +1260,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
if (launchingFromWidget) {
composeWidgetLaunchAnimator(anim, (LauncherAppWidgetHostView) mV, appTargets,
wallpaperTargets, nonAppTargets);
// TODO(b/169042867): jank monitoring instrumentation
addCujInstrumentation(
anim, InteractionJankMonitorWrapper.CUJ_APP_LAUNCH_FROM_WIDGET);
} else if (launchingFromRecents) {
composeRecentsLaunchAnimator(anim, mV, appTargets, wallpaperTargets, nonAppTargets,
launcherClosing);