Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c71c6a5 authored by Jon Miranda's avatar Jon Miranda
Browse files

Fix bug where QSB gets clipped when flinging All Apps open.

Bug: 77538324
Change-Id: I3e40346559fd3b7010d92d28e12efcf2d8581640
parent ae7c6d12
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -314,7 +314,8 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo

    @Override
    public int getCanvasClipTopForOverscroll() {
        return mHeader.getTop();
        // Do not clip if the QSB is attached to the spring, otherwise the QSB will get clipped.
        return mSpringViews.get(getSearchView().getId()) ? 0 : mHeader.getTop();
    }

    private void rebindAdapters(boolean showTabs) {
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ public class SpringRelativeLayout extends RelativeLayout {
                }
            };

    private final SparseBooleanArray mSpringViews = new SparseBooleanArray();
    protected final SparseBooleanArray mSpringViews = new SparseBooleanArray();
    private final SpringAnimation mSpring;

    private float mDampedScrollShift = 0;