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

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

Merge "ACTION_HOVER_EXIT sometimes not delivered during touch exploration."

parents 755edcea 47e02711
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -388,6 +388,11 @@ public class TouchExplorer implements Explorer {
                            mTouchExploreGestureInProgress = false;
                            mLastTouchExploreEvent = MotionEvent.obtain(event);
                            sendAccessibilityEvent(TYPE_TOUCH_EXPLORATION_GESTURE_END);
                            final int lastAction = mPointerTracker.getLastInjectedHoverAction();
                            if (lastAction != MotionEvent.ACTION_HOVER_EXIT) {
                                sendMotionEvent(event, MotionEvent.ACTION_HOVER_EXIT,
                                        pointerIdBits, policyFlags);
                            }
                            break;
                        }