Add CUJ_DESKTOP_MODE_EXIT_MODE_ON_LAST_WINDOW_CLOSE to launcher side
Move the CUJ to where the actual animation is taking place, so we can target the correct surface/leash. Bug: 374214290 Flag: NONE jank logging Test: manual Change-Id: Iccb30ff7ceee84b68428606575e1b8588eeb8aa9
This commit is contained in:
@@ -1746,6 +1746,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);
|
||||
|
||||
Reference in New Issue
Block a user