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
This commit is contained in:
Tony Wickham
2022-02-23 21:40:12 +00:00
parent c089baa668
commit 4fda59a0cc

View File

@@ -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