Merge "Fix bug where QSB gets clipped when flinging All Apps open." into ub-launcher3-edmonton-polish
This commit is contained in:
commit
0d2c6c23ed
2 files changed
+3
-2
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user