Workspace should not receive touch events

Bug: 234648831
Test: touch outside recycler view inside container, doesn't swipe left/right

TL;DR;;
As the definition of ActiveRecyclerView changed in latest refactor,
scrollbar existence is no longer a condition to consume
touch event if user is in isSearching state.

Change-Id: Iec97fb036ad45796a77c59d35f329744398d4953
This commit is contained in:
hyunyoungs
2022-06-07 22:12:33 -07:00
parent 2d5bda75fc
commit e5f265c76e
@@ -301,6 +301,10 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
mTouchHandler.handleTouchEvent(ev, mFastScrollerOffset);
return true;
}
if (isSearching()) {
// if in search state, consume touch event.
return true;
}
return false;
}