summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-08-15 19:43:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-08-15 19:43:27 +0000
commit10fcfb04b0d2ae8a0f69cfa406e6d7fbd594d29e (patch)
tree18ae403c3de6120da992a83861d7eb46f934aac2
parentbf17e50156fe783bc504601782686c92aba0a4d0 (diff)
parent7dfabaa02bdcf7d9307e11fa490c097bdc990025 (diff)
downloadandroid_packages_apps_Trebuchet-10fcfb04b0d2ae8a0f69cfa406e6d7fbd594d29e.tar.gz
android_packages_apps_Trebuchet-10fcfb04b0d2ae8a0f69cfa406e6d7fbd594d29e.tar.bz2
android_packages_apps_Trebuchet-10fcfb04b0d2ae8a0f69cfa406e6d7fbd594d29e.zip
Merge "Fix bug where all apps items fade in." into ub-launcher3-dorval-polish2
-rw-r--r--src/com/android/launcher3/allapps/AllAppsContainerView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java
index ede3bea72..828a347df 100644
--- a/src/com/android/launcher3/allapps/AllAppsContainerView.java
+++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java
@@ -224,8 +224,8 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
mAppsRecyclerView.setLayoutManager(mLayoutManager);
mAppsRecyclerView.setAdapter(mAdapter);
mAppsRecyclerView.setHasFixedSize(true);
- // Removes the animation that can occur when updating the predicted apps in place.
- mAppsRecyclerView.getItemAnimator().setChangeDuration(0);
+ // No animations will occur when changes occur to the items in this RecyclerView.
+ mAppsRecyclerView.setItemAnimator(null);
if (FeatureFlags.LAUNCHER3_PHYSICS) {
mAppsRecyclerView.setSpringAnimationHandler(mSpringAnimationHandler);
}