Merge "Ensures in all apps that the scrollposition and floating header translation are reset correctly on closing all apps and switching tabs." into ub-launcher3-master

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2017-12-13 17:39:46 +00:00
commit ffa3bb97ff
2 files changed
+6 -12

No files matched your search

@@ -495,6 +495,7 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
public void onPageSelected(int pos) {
tabs.updateTabTextColor(pos);
mHeader.setMainActive(pos == 0);
reset();
applyTouchDelegate();
if (mAH[pos].recyclerView != null) {
mAH[pos].recyclerView.bindFastScrollbar();