Merge "DO NOT MERGE: Treat unknown tooltype as touch." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8499c13740
@@ -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