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

Commit 50293dff authored by Steve McKay's avatar Steve McKay Committed by android-build-merger
Browse files

DO NOT MERGE: Treat unknown tooltype as touch. am: 0c28f3bd

am: 6c06272a

Change-Id: Ie67b77b846c2bdc7655970c23beb725ae9adc70d
parents 31276a56 6c06272a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -53,7 +53,8 @@ public final class Events {
     */
    public static boolean isTouchType(int toolType) {
        return toolType == MotionEvent.TOOL_TYPE_FINGER
                || toolType == MotionEvent.TOOL_TYPE_STYLUS;
                || toolType == MotionEvent.TOOL_TYPE_STYLUS
                || toolType == MotionEvent.TOOL_TYPE_UNKNOWN;
    }

    /**