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

Commit f34bcf9d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use SOURCE_TOUCHSCREEN as the default last input source."

parents cc5a41a7 84af3814
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -982,8 +982,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
    /**
     * The last input source on this TextView.
     *
     * Use the SOURCE_TOUCHSCREEN as the default value for backward compatibility. There could be a
     * non UI event originated ActionMode initiation, e.g. API call, a11y events, etc.
     */
    private int mLastInputSource = InputDevice.SOURCE_UNKNOWN;
    private int mLastInputSource = InputDevice.SOURCE_TOUCHSCREEN;
    /**
     * The TextView does not auto-size text (default).