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

Bug: 77538324
Change-Id: I3e40346559fd3b7010d92d28e12efcf2d8581640
This commit is contained in:
Jon Miranda
2018-06-15 11:12:21 -07:00
parent ae7c6d1284
commit 3c71c6a564
2 changed files with 3 additions and 2 deletions

View File

@@ -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) {