From 4fda59a0cc9ffc7aa3c4436a2a4ae304fc2ea0ae Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Wed, 23 Feb 2022 21:40:12 +0000 Subject: [PATCH] No longer stash taskbar when swiping up all apps Instead, scale down hotseat behind all apps alongside workspace. Test: Swipe up to all apps from home; all apps button in an app works as before Fixes: 221094533 Change-Id: Ia6f1e7bac86849018dc8d0b1d95f0bab963835a8 --- .../android/launcher3/uioverrides/states/AllAppsState.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java b/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java index fec591b653..4583fc3f5e 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java +++ b/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java @@ -66,11 +66,6 @@ public class AllAppsState extends LauncherState { return scaleAndTranslation; } - @Override - public boolean isTaskbarStashed(Launcher launcher) { - return true; - } - @Override protected float getDepthUnchecked(Context context) { // The scrim fades in at approximately 50% of the swipe gesture. @@ -93,7 +88,7 @@ public class AllAppsState extends LauncherState { @Override public int getVisibleElements(Launcher launcher) { - return ALL_APPS_CONTENT; + return ALL_APPS_CONTENT | HOTSEAT_ICONS; } @Override