summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherStateTransitionAnimation.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-06-15 14:24:21 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-06-15 14:25:12 -0700
commit5606e070592521c80033381fc0536d4aa1351695 (patch)
tree20e2be508689b4be20c0b40a995e97e96683bf0a /src/com/android/launcher3/LauncherStateTransitionAnimation.java
parent2de667d3af3328a3c3bd8cc32a45e7e543375fee (diff)
downloadandroid_packages_apps_Trebuchet-5606e070592521c80033381fc0536d4aa1351695.tar.gz
android_packages_apps_Trebuchet-5606e070592521c80033381fc0536d4aa1351695.tar.bz2
android_packages_apps_Trebuchet-5606e070592521c80033381fc0536d4aa1351695.zip
Removing long press support from page-indicator
Bug: 62445549 Bug: 38163974 Change-Id: Ic0ae44ded7e4755c5401f327ce0d98a9ea96b2ab
Diffstat (limited to 'src/com/android/launcher3/LauncherStateTransitionAnimation.java')
-rw-r--r--src/com/android/launcher3/LauncherStateTransitionAnimation.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/com/android/launcher3/LauncherStateTransitionAnimation.java b/src/com/android/launcher3/LauncherStateTransitionAnimation.java
index 85467e06a..e7349f040 100644
--- a/src/com/android/launcher3/LauncherStateTransitionAnimation.java
+++ b/src/com/android/launcher3/LauncherStateTransitionAnimation.java
@@ -127,12 +127,8 @@ public class LauncherStateTransitionAnimation {
/**
* Starts an animation to the apps view.
- *
- * @param startSearchAfterTransition Immediately starts app search after the transition to
- * All Apps is completed.
*/
- public void startAnimationToAllApps(
- final boolean animated, final boolean startSearchAfterTransition) {
+ public void startAnimationToAllApps(final boolean animated) {
final AllAppsContainerView toView = mLauncher.getAppsView();
final View buttonView = mLauncher.getStartViewForAllAppsRevealAnimation();
PrivateTransitionCallbacks cb = new PrivateTransitionCallbacks(1f) {
@@ -156,9 +152,6 @@ public class LauncherStateTransitionAnimation {
@Override
void onTransitionComplete() {
mLauncher.getUserEventDispatcher().resetElapsedContainerMillis();
- if (startSearchAfterTransition) {
- toView.startAppsSearch();
- }
}
};
int animType = CIRCULAR_REVEAL;