From 514f866f5c6a191fe17cc616fb420efe10710ff8 Mon Sep 17 00:00:00 2001 From: Brian Isganitis Date: Mon, 8 Apr 2024 15:15:37 -0700 Subject: [PATCH] Use translation shift setter when showing AllApps without animation. The no-animation case used to be handled immediately upon inflating the view, so we got away with reassigning the field to TRANSLATION_SHIFT_OPENED directly. Since this happens in post of a handler, we need to instead use the setter so that a relayout happens. Test: Manual Fix: 324268840 Flag: N/A Change-Id: I089f15a8d64e0d22885ae387679214a540790ad0 --- .../launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java index 99937f841b..6ceec3e5bc 100644 --- a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java +++ b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java @@ -96,7 +96,7 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView