Merge "Make sure to send HOVER_EXIT when starting touch exploration if we haven't sent it already." into main
This commit is contained in:
@@ -1341,6 +1341,8 @@ public class TouchExplorer extends BaseEventStreamTransformation
|
|||||||
Slog.e(LOG_TAG, "Unable to find a valid pointer for touch exploration.");
|
Slog.e(LOG_TAG, "Unable to find a valid pointer for touch exploration.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Send hover exit if we haven't closed a previous touch exploration event stream.
|
||||||
|
sendHoverExitAndTouchExplorationGestureEndIfNeeded(pointerId);
|
||||||
final int pointerIdBits = (1 << pointerId);
|
final int pointerIdBits = (1 << pointerId);
|
||||||
final int policyFlags = mState.getLastReceivedPolicyFlags();
|
final int policyFlags = mState.getLastReceivedPolicyFlags();
|
||||||
mSendHoverEnterAndMoveDelayed.setPointerIdBits(pointerIdBits);
|
mSendHoverEnterAndMoveDelayed.setPointerIdBits(pointerIdBits);
|
||||||
|
|||||||
Reference in New Issue
Block a user