mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Don't let AllAppsTransitionController intercept when a floating view is open.
Previously we checked for deep shortcuts when closing all apps by swiping down. Now we check any AbstractFloatingView, and when swiping up. Bug: 33542711 Change-Id: I860eb55c69567a92cd626e966bf881b7d1bffc6e
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user