mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Adding a flag (enabled by default) to remove the all-apps button.
All apps can still be opened by clicking the caret. Bug: 29398447 Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
This commit is contained in:
@@ -142,7 +142,7 @@ public class LauncherStateTransitionAnimation {
|
||||
public void startAnimationToAllApps(final Workspace.State fromWorkspaceState,
|
||||
final boolean animated, final boolean startSearchAfterTransition) {
|
||||
final AllAppsContainerView toView = mLauncher.getAppsView();
|
||||
final View buttonView = mLauncher.getAllAppsButton();
|
||||
final View buttonView = mLauncher.getStartViewForAllAppsRevealAnimation();
|
||||
PrivateTransitionCallbacks cb = new PrivateTransitionCallbacks(1f) {
|
||||
@Override
|
||||
public float getMaterialRevealViewStartFinalRadius() {
|
||||
@@ -525,7 +525,7 @@ public class LauncherStateTransitionAnimation {
|
||||
};
|
||||
// Only animate the search bar if animating to spring loaded mode from all apps
|
||||
mCurrentAnimation = startAnimationToWorkspaceFromOverlay(fromWorkspaceState, toWorkspaceState,
|
||||
mLauncher.getAllAppsButton(), appsView,
|
||||
mLauncher.getStartViewForAllAppsRevealAnimation(), appsView,
|
||||
animated, type, onCompleteRunnable, cb);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user