Merge "Add CUJ_DESKTOP_MODE_EXIT_MODE_ON_LAST_WINDOW_CLOSE to launcher side" into main

This commit is contained in:
Gustav Sennton
2025-01-28 10:32:41 -08:00
committed by Android (Google) Code Review

View File

@@ -1745,6 +1745,10 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
if (rectFSpringAnim != null && anim.getChildAnimations().isEmpty()) {
addCujInstrumentation(rectFSpringAnim, Cuj.CUJ_LAUNCHER_APP_CLOSE_TO_HOME);
} else {
if (isFreeformAnimation(appTargets)) {
addCujInstrumentation(anim,
Cuj.CUJ_DESKTOP_MODE_EXIT_MODE_ON_LAST_WINDOW_CLOSE);
}
addCujInstrumentation(anim, playFallBackAnimation
? Cuj.CUJ_LAUNCHER_APP_CLOSE_TO_HOME_FALLBACK
: Cuj.CUJ_LAUNCHER_APP_CLOSE_TO_HOME);