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

Commit f2ef2a7f authored by Garfield Tan's avatar Garfield Tan
Browse files

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
parent f6166035
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
     */