From f2ef2a7fca828ad23d08d190a9b64d686c7bd7f4 Mon Sep 17 00:00:00 2001 From: Garfield Tan Date: Tue, 26 Nov 2019 09:52:53 -0800 Subject: Fix doc of TOOL_TYPE_MOUSE. It says it's set when the tool type is a mouse or trackpad, but the fact is the tool type is TOOL_TYPE_FINGER on trackpads. Therefore remove trackpad from Android doc. Bug: 145135609 Test: N/A Change-Id: Ife91ba032f9f0a8e7359425b415409ac609cdb25 --- core/java/android/view/MotionEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/view/MotionEvent.java') diff --git a/core/java/android/view/MotionEvent.java b/core/java/android/view/MotionEvent.java index be4c598da789..1c94e02462d0 100644 --- a/core/java/android/view/MotionEvent.java +++ b/core/java/android/view/MotionEvent.java @@ -1440,7 +1440,7 @@ public final class MotionEvent extends InputEvent implements Parcelable { public static final int TOOL_TYPE_STYLUS = 2; /** - * Tool type constant: The tool is a mouse or trackpad. + * Tool type constant: The tool is a mouse. * * @see #getToolType */ -- cgit v1.2.3