DO NOT MERGE: Treat unknown tooltype as touch.
am: 0c28f3bda3
Change-Id: Idbee59d7450b63735291f5218784c87f762ed19b
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user