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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user