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

Commit 6562f7a2 authored by Taran Singh's avatar Taran Singh Committed by Android (Google) Code Review
Browse files

Merge "Skip stylus hover events from buffer"

parents 95c45bf4 3d8fd789
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -337,6 +337,10 @@ final class HandwritingModeController {
            // Ask IMMS to make ink window ready.
            mInkWindowInitRunnable.run();
            mInkWindowInitRunnable = null;
            return;
        } else if (event.isHoverEvent()) {
            // Hover events need not be recorded to buffer.
            return;
        }

        // If handwriting delegation is ongoing, don't clear the buffer so that multiple strokes