Merge "In AllApps search mode, only consume touch over visible container" into tm-qpr-dev

This commit is contained in:
Alex Chau
2022-06-27 09:56:42 +00:00
committed by Android (Google) Code Review
@@ -304,7 +304,8 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
mTouchHandler.handleTouchEvent(ev, mFastScrollerOffset);
return true;
}
if (isSearching()) {
if (isSearching()
&& mActivityContext.getDragLayer().isEventOverView(getVisibleContainerView(), ev)) {
// if in search state, consume touch event.
return true;
}