Merge "Don't let AllAppsTransitionController intercept when a floating view is open." into ub-launcher3-master

This commit is contained in:
Tony Wickham authored and Android (Google) Code Review committed 2016-12-14 05:06:09 +00:00
commit d3e02eba13
2 files changed
+4 -5

No files matched your search

@@ -208,11 +208,6 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
return false;
}
// IF a shortcuts container is open, container should not be pulled down.
if (DeepShortcutsContainer.getOpen(mLauncher) != null) {
return false;
}
// IF scroller is at the very top OR there is no scroll bar because there is probably not
// enough items to scroll, THEN it's okay for the container to be pulled down.
if (mAppsRecyclerView.getScrollBar().getThumbOffsetY() <= 0) {