Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba99c5c1 authored by Jonathan Miranda's avatar Jonathan Miranda
Browse files

Remove extra call to AllAppsContainerView#reset. am: 14709c6e

Change-Id: I3c2b33376f3051b4775b7079ac138048d1acda29
parents 507f4fb2 14709c6e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -387,7 +387,6 @@ public class LauncherStateTransitionAnimation {
    private void startAnimationToWorkspaceFromAllApps(final Workspace.State fromWorkspaceState,
            final Workspace.State toWorkspaceState, final boolean animated, int type,
            final Runnable onCompleteRunnable) {
        final AllAppsContainerView appsView = mLauncher.getAppsView();
        // No alpha anim from all apps
        PrivateTransitionCallbacks cb = new PrivateTransitionCallbacks(1f) {
            @Override
@@ -417,12 +416,11 @@ public class LauncherStateTransitionAnimation {
            @Override
            void onTransitionComplete() {
                mLauncher.getUserEventDispatcher().resetElapsedContainerMillis();
                appsView.reset();
            }
        };
        // Only animate the search bar if animating to spring loaded mode from all apps
        startAnimationToWorkspaceFromOverlay(fromWorkspaceState, toWorkspaceState,
                mLauncher.getStartViewForAllAppsRevealAnimation(), appsView,
                mLauncher.getStartViewForAllAppsRevealAnimation(), mLauncher.getAppsView(),
                animated, type, onCompleteRunnable, cb);
    }