Merge "Remove widget launch CUJ from jank monitoring" into sc-dev am: 7f6691bef5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467302 Change-Id: Iefbca4c177bb15b335e5d0fa0c607ed1603beb34
This commit is contained in:
@@ -1260,21 +1260,20 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
|||||||
if (launchingFromWidget) {
|
if (launchingFromWidget) {
|
||||||
composeWidgetLaunchAnimator(anim, (LauncherAppWidgetHostView) mV, appTargets,
|
composeWidgetLaunchAnimator(anim, (LauncherAppWidgetHostView) mV, appTargets,
|
||||||
wallpaperTargets, nonAppTargets);
|
wallpaperTargets, nonAppTargets);
|
||||||
|
// TODO(b/169042867): jank monitoring instrumentation
|
||||||
} else if (launchingFromRecents) {
|
} else if (launchingFromRecents) {
|
||||||
composeRecentsLaunchAnimator(anim, mV, appTargets, wallpaperTargets, nonAppTargets,
|
composeRecentsLaunchAnimator(anim, mV, appTargets, wallpaperTargets, nonAppTargets,
|
||||||
launcherClosing);
|
launcherClosing);
|
||||||
|
addCujInstrumentation(
|
||||||
|
anim, InteractionJankMonitorWrapper.CUJ_APP_LAUNCH_FROM_RECENTS);
|
||||||
} else if (launchingFromTaskbar) {
|
} else if (launchingFromTaskbar) {
|
||||||
// TODO
|
// TODO
|
||||||
} else {
|
} else {
|
||||||
composeIconLaunchAnimator(anim, mV, appTargets, wallpaperTargets, nonAppTargets,
|
composeIconLaunchAnimator(anim, mV, appTargets, wallpaperTargets, nonAppTargets,
|
||||||
launcherClosing);
|
launcherClosing);
|
||||||
|
addCujInstrumentation(anim, InteractionJankMonitorWrapper.CUJ_APP_LAUNCH_FROM_ICON);
|
||||||
}
|
}
|
||||||
|
|
||||||
addCujInstrumentation(anim,
|
|
||||||
launchingFromRecents
|
|
||||||
? InteractionJankMonitorWrapper.CUJ_APP_LAUNCH_FROM_RECENTS
|
|
||||||
: InteractionJankMonitorWrapper.CUJ_APP_LAUNCH_FROM_ICON);
|
|
||||||
|
|
||||||
if (launcherClosing) {
|
if (launcherClosing) {
|
||||||
anim.addListener(mForceInvisibleListener);
|
anim.addListener(mForceInvisibleListener);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user