Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4268b195 authored by Dennis Kempin's avatar Dennis Kempin Committed by Android (Google) Code Review
Browse files

Merge "SystemGestures: Only send touch events to gesture detector."

parents c1229a5b fb5168a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ public class SystemGesturesPointerEventListener implements PointerEventListener

    @Override
    public void onPointerEvent(MotionEvent event) {
        if (mGestureDetector != null) {
        if (mGestureDetector != null && event.isTouchEvent()) {
            mGestureDetector.onTouchEvent(event);
        }
        switch (event.getActionMasked()) {