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

Commit ea22c81e authored by Ameer Armaly's avatar Ameer Armaly Committed by Automerger Merge Worker
Browse files

Merge "Make sure to send HOVER_EXIT when starting touch exploration if we...

Merge "Make sure to send HOVER_EXIT when starting touch exploration if we haven't sent it already." into main am: 6c737e8c am: 9e901f2c am: a9dafc37 am: a8f5ae3c am: be932f5a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2677516



Change-Id: Id0ed531f54004025181000a47b4f67fefc2752bb
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 707d6759 be932f5a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1344,6 +1344,8 @@ public class TouchExplorer extends BaseEventStreamTransformation
                Slog.e(LOG_TAG, "Unable to find a valid pointer for touch exploration.");
                return;
            }
            // Send hover exit if we haven't closed a previous touch exploration event stream.
            sendHoverExitAndTouchExplorationGestureEndIfNeeded(pointerId);
            final int pointerIdBits = (1 << pointerId);
            final int policyFlags = mState.getLastReceivedPolicyFlags();
            mSendHoverEnterAndMoveDelayed.setPointerIdBits(pointerIdBits);