From bb223dedb65c8cbd23c8669d085bca3446033cf0 Mon Sep 17 00:00:00 2001 From: Shamali Patwa Date: Tue, 17 Jun 2025 16:16:15 -0700 Subject: [PATCH] Revert the WIDGET_CROSSFADE_DURATION_MILLIS to 125 Partially reverts ag/33592869 - It seems that it was meant for close animation, however this value is mainly used for open animation. Bug: 424740625 Test: See demo Flag: EXEMPT BUGFIX (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ee94bdd219120e430e1a262729d9409615ef4130) Merged-In: I574fc18919d58bc0be3529350ac29bcf8f42f9e4 Change-Id: I574fc18919d58bc0be3529350ac29bcf8f42f9e4 --- .../src/com/android/launcher3/QuickstepTransitionManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java index af08ca4963..40904edd88 100644 --- a/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java +++ b/quickstep/src/com/android/launcher3/QuickstepTransitionManager.java @@ -232,8 +232,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener private static final int MAX_NUM_TASKS = 5; - // Cross-fade duration between App Widget and App - private static final int WIDGET_CROSSFADE_DURATION_MILLIS = 666; + // Cross-fade duration between App Widget and App when launching from widget. + private static final int WIDGET_CROSSFADE_DURATION_MILLIS = 125; protected final QuickstepLauncher mLauncher; protected final DragLayer mDragLayer;