From 4f0d0a2666010df7439dbb8c7f18124500cfc2da Mon Sep 17 00:00:00 2001 From: Andy Wickham Date: Mon, 13 Feb 2023 14:55:51 -0800 Subject: [PATCH] Set All Apps scale to 1 to start. This avoids a bug on the first back gesture in All Apps from search back to the A-Z list, where the apps scaled to 0-1 quickly as part of the reset logic added in ag/21182334. Bug: 269541162 Test: Install launcher, open all apps, tap search bar, go back. Change-Id: I0dbd7275a80b585acf6f05ef1ef25c7c47f59ff6 --- .../android/launcher3/allapps/AllAppsTransitionController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index b6187244f2..cc579b8ac3 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -200,6 +200,7 @@ public class AllAppsTransitionController ? FLAG_DARK_NAV : FLAG_LIGHT_NAV; setShiftRange(dp.allAppsShiftRange); + mAllAppScale.value = 1; mLauncher.addOnDeviceProfileChangeListener(this); mVibratorWrapper = VibratorWrapper.INSTANCE.get(mLauncher.getApplicationContext()); }