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

Commit 9c5d165e authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Don't show gesture preview trail while detecting gesture input

Bug: 7166222
Change-Id: Iecc8403a4eca305323ed8c8e17266d23172d84d9
parent d7fdc730
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -545,13 +545,14 @@ public class PointerTracker implements PointerTrackerQueue.Element {
    }

    private void startBatchInput() {
        if (!sInGesture && mGestureStrokeWithPreviewTrail.isStartOfAGesture()) {
        if (sInGesture || !mGestureStrokeWithPreviewTrail.isStartOfAGesture()) {
            return;
        }
        if (DEBUG_LISTENER) {
            Log.d(TAG, "onStartBatchInput");
        }
        sInGesture = true;
        mListener.onStartBatchInput();
        }
        final boolean isOldestTracker = sPointerTrackerQueue.getOldestElement() == this;
        mDrawingProxy.showGesturePreviewTrail(this, isOldestTracker);
    }