mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Remove extra call to AllAppsContainerView#reset.
We were calling reset twice: * LauncherStateTransitionAnimation#startAnimationToWorkspaceFromAllApps * AllAppsTransitionController#finishPullDown Bug: 63711551 Change-Id: Ib695332f537c270ecd3a67c4369fe90b8761032a
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user