Migrate ENABLE_ALL_APPS_BUTTON_IN_HOTSEAT to launcher.aconfig

Flag: com.android.launcher3.enable_all_apps_button_in_hotseat
Test: N/A
Bug: 270393897
Change-Id: Ib62a2f46a440d8f0d3f569c09c4f8754715db4ee
This commit is contained in:
Jon Miranda
2024-09-16 14:58:08 -07:00
parent 98d85d6dc0
commit aec1e05be5
4 changed files with 14 additions and 2 deletions
@@ -837,7 +837,7 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
// plays iconAlignment to 1 really fast, therefore moving the fading towards the end
// to avoid icons disappearing rather than fading out visually.
setter.setViewAlpha(child, 0, Interpolators.clampToProgress(LINEAR, 0.8f, 1f));
} else if ((isAllAppsButton && !FeatureFlags.ENABLE_ALL_APPS_BUTTON_IN_HOTSEAT.get())
} else if ((isAllAppsButton && !FeatureFlags.enableAllAppsButtonInHotseat())
|| (isTaskbarDividerView && enableTaskbarPinning())
|| (isRecentTask && !isRecentsInHotseat)) {
if (!isToHome