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

Commit 95841ac3 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Inconsistent events on transition from gesture detection to touch...

Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev
parents ca868820 aed4b6f8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1300,6 +1300,11 @@ class TouchExplorer implements EventStreamTransformation {

        @Override
        public void run() {
            // Announce the end of gesture recognition.
            sendAccessibilityEvent(AccessibilityEvent.TYPE_GESTURE_DETECTION_END);
            // Clearing puts is in touch exploration state with a finger already
            // down, so announce the transition to exploration state.
            sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_START);
            clear();
        }
    }