Check if event is over All Apps correctly on large screens.
Test: Manual
Fix: 232826650
Change-Id: Ia6a0aefe1a2886ba21150c7d65be5c5d95f18141
diff --git a/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java b/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java
index fc52797..dd0b503 100644
--- a/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java
+++ b/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java
@@ -246,7 +246,7 @@
*/
public boolean shouldContainerScroll(MotionEvent ev) {
// Scroll if not within the container view (e.g. over large-screen scrim).
- if (!mActivityContext.getDragLayer().isEventOverView(this, ev)) {
+ if (!mActivityContext.getDragLayer().isEventOverView(getVisibleContainerView(), ev)) {
return true;
}
if (mActivityContext.getDragLayer().isEventOverView(mBottomSheetHandleArea, ev)) {