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

Commit 3c8090ab authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "PieInputFilter: Fix the check for the input device type" into cm-10.2

parents 37d5a2a3 c6557ebd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -226,7 +226,8 @@ public class PieInputFilter implements IInputFilter {
            Trace.traceBegin(Trace.TRACE_TAG_INPUT, "filterInputEvent");
        }
        try {
            if (event.getSource() != InputDevice.SOURCE_TOUCHSCREEN
            if (((event.getSource() & InputDevice.SOURCE_TOUCHSCREEN)
                 != InputDevice.SOURCE_TOUCHSCREEN)
                    || !(event instanceof MotionEvent)) {
                sendInputEvent(event, policyFlags);
                return;