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

Commit 6c06272a 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

Change-Id: Idbee59d7450b63735291f5218784c87f762ed19b
parents 9d5514c8 0c28f3bd
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;
    }

    /**