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

Commit 8b681cb8 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Some formatting missed in the previous patch

Change-Id: I299090ca67b1d90cf75a46dc85b13970d32511e5
parent 3efa8bab
Loading
Loading
Loading
Loading
+21 −27
Original line number Diff line number Diff line
@@ -333,24 +333,18 @@ class TouchExplorer implements EventStreamTransformation {

        // The event for gesture end should be strictly after the
        // last hover exit event.
        if (mTouchExplorationGestureEnded) {
            switch (eventType) {
                case AccessibilityEvent.TYPE_VIEW_HOVER_EXIT: {
        if (mTouchExplorationGestureEnded
                && eventType == AccessibilityEvent.TYPE_VIEW_HOVER_EXIT) {
            mTouchExplorationGestureEnded = false;
            sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_END);
                } break;
            }
        }

        // The event for touch interaction end should be strictly after the
        // last hover exit and the touch exploration gesture end events.
        if (mTouchInteractionEnded) {
            switch (eventType) {
                case AccessibilityEvent.TYPE_VIEW_HOVER_EXIT: {
        if (mTouchInteractionEnded
                && eventType == AccessibilityEvent.TYPE_VIEW_HOVER_EXIT) {
            mTouchInteractionEnded = false;
            sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_INTERACTION_END);
                } break;
            }
        }

        // If a new window opens or the accessibility focus moves we no longer