summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Schiller <peterschiller@google.com>2016-07-12 15:34:14 -0700
committerPeter Schiller <peterschiller@google.com>2016-07-12 15:36:47 -0700
commitc529c98f1109c230732966c73119bb2bdaabc663 (patch)
tree9090d2cf9c4c40c27c7dba440e9f77e3676df335 /src
parent7ed42af3398c1764424ebbf2dd6e2a51e05eaf5f (diff)
downloadandroid_packages_apps_Trebuchet-c529c98f1109c230732966c73119bb2bdaabc663.tar.gz
android_packages_apps_Trebuchet-c529c98f1109c230732966c73119bb2bdaabc663.tar.bz2
android_packages_apps_Trebuchet-c529c98f1109c230732966c73119bb2bdaabc663.zip
Reset scroll position when all apps is reset
Change-Id: If0d4aa0f488e3198a17c7649e7ef9bc8a78a0cbc
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsContainerView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java
index 717ce74c7..60b5e1517 100644
--- a/src/com/android/launcher3/allapps/AllAppsContainerView.java
+++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java
@@ -290,6 +290,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
*/
public void reset() {
// Reset the search bar and base recycler view after transitioning home
+ scrollToTop();
mSearchBarController.reset();
mAppsRecyclerView.reset();
}