From 4ae44220c427fb53c75a03542eac37a77e54f5fd Mon Sep 17 00:00:00 2001 From: Suphon Thanakornpakapong Date: Sat, 4 Sep 2021 17:47:34 +0700 Subject: [PATCH] Fix status bar gesture on OOS --- .../touchcontrollers/StatusBarTouchController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/StatusBarTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/StatusBarTouchController.java index 867243a5af..cb0cc32ee7 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/StatusBarTouchController.java +++ b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/StatusBarTouchController.java @@ -44,6 +44,8 @@ import com.android.quickstep.SystemUiProxy; import java.io.PrintWriter; import java.lang.reflect.InvocationTargetException; +import app.lawnchair.util.CompatibilityKt; + /** * TouchController for handling touch events that get sent to the StatusBar. Once the * Once the event delta mDownY passes the touch slop, the events start getting forwarded. @@ -162,6 +164,8 @@ public class StatusBarTouchController implements TouchController { .log(LAUNCHER_SWIPE_DOWN_WORKSPACE_NOTISHADE_OPEN); setWindowSlippery(false); return true; + } else if (CompatibilityKt.isOnePlusStock() && action == ACTION_MOVE) { + dispatchTouchEvent(ev); } return true; }