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

Commit 0c28f3bd authored by Steve McKay's avatar Steve McKay
Browse files

DO NOT MERGE: Treat unknown tooltype as touch.

DNM because code has changed in master.

Bug: 30182625
Change-Id: I0f226abd9eb6899d8a3ecd1c24bb1b261b3d3677
parent f2598319
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;
    }

    /**