From 21698c57994ea4099e4dc138e457c2f456ac9714 Mon Sep 17 00:00:00 2001 From: Alex Chau Date: Fri, 24 Sep 2021 14:36:15 +0100 Subject: [PATCH] Always let Hotseat touches follow through to Workspace if not intercepted Fix: 200812841 Fix: 201306660 Test: Long press around QSB, hotseat, inbetween hotseat icons works Test: Can scroll pages on top of hotseat and QSB Test: Drag and drop still works in hotseat Test: Can still press and long press on QSB Change-Id: I3f6807be08ff2c55644e3bf8f6d05a3954a8ede6 --- src/com/android/launcher3/Hotseat.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/launcher3/Hotseat.java b/src/com/android/launcher3/Hotseat.java index b3ae15ed4d..e86c02cb01 100644 --- a/src/com/android/launcher3/Hotseat.java +++ b/src/com/android/launcher3/Hotseat.java @@ -151,7 +151,8 @@ public class Hotseat extends CellLayout implements Insettable { } return mWorkspace.onTouchEvent(event); } - return event.getY() > getCellHeight(); + // Always let touch follow through to Workspace. + return false; } @Override