summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Garfield Tan <xutan@google.com> 2019-11-26 09:52:53 -0800
committer Garfield Tan <xutan@google.com> 2019-11-26 09:52:53 -0800
commitf2ef2a7fca828ad23d08d190a9b64d686c7bd7f4 (patch)
tree0af732df0502ec520050ba3303bdec0f7d578d6d
parentf6166035c424fc6bbc11d5d387085c411c359ed2 (diff)
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
-rw-r--r--core/java/android/view/MotionEvent.java2
1 files changed, 1 insertions, 1 deletions
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
*/