In AllApps search mode, only consume touch over visible container
Bug: 236360930 Test: Tap on deadzone to dismiss AllApps in search mode Test: touch outside recycler view inside container, doesn't swipe left/right Change-Id: I18498ea50f217231c3bb4489d6d9e95fc0e7da53
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user