diff options
author | Jonathan Miranda <jonmiranda@google.com> | 2017-07-24 19:19:41 +0000 |
---|---|---|
committer | Jonathan Miranda <jonmiranda@google.com> | 2017-07-24 19:19:41 +0000 |
commit | ba99c5c1fe541a81b00ad727c0c7e3df7a7fda91 (patch) | |
tree | e846b0afdd8d07e89f6c2540a6f0c31b90682aa1 /src/com/android/launcher3/LauncherStateTransitionAnimation.java | |
parent | 507f4fb2d6ea81759720074afaa487732424557f (diff) | |
parent | 14709c6eea128a900345f1109468d7a5b0ed900e (diff) | |
download | android_packages_apps_Trebuchet-ba99c5c1fe541a81b00ad727c0c7e3df7a7fda91.tar.gz android_packages_apps_Trebuchet-ba99c5c1fe541a81b00ad727c0c7e3df7a7fda91.tar.bz2 android_packages_apps_Trebuchet-ba99c5c1fe541a81b00ad727c0c7e3df7a7fda91.zip |
Remove extra call to AllAppsContainerView#reset. am: 14709c6eea
Change-Id: I3c2b33376f3051b4775b7079ac138048d1acda29
Diffstat (limited to 'src/com/android/launcher3/LauncherStateTransitionAnimation.java')
-rw-r--r-- | src/com/android/launcher3/LauncherStateTransitionAnimation.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/launcher3/LauncherStateTransitionAnimation.java b/src/com/android/launcher3/LauncherStateTransitionAnimation.java index e7349f040..44b9704f2 100644 --- a/src/com/android/launcher3/LauncherStateTransitionAnimation.java +++ b/src/com/android/launcher3/LauncherStateTransitionAnimation.java @@ -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); } |