Merge "TouchExplorer: clear unsent hover events on action down."
This commit is contained in:
committed by
Android (Google) Code Review
commit
f0683adef2
@@ -537,6 +537,8 @@ public class TouchExplorer extends BaseEventStreamTransformation
|
||||
// touch, we figure out what to do. If were waiting
|
||||
// we resent the delayed callback and wait again.
|
||||
mSendHoverEnterAndMoveDelayed.cancel();
|
||||
// clear any hover events that might have been queued and never sent.
|
||||
mSendHoverEnterAndMoveDelayed.clear();
|
||||
mSendHoverExitDelayed.cancel();
|
||||
// If a touch exploration gesture is in progress send events for its end.
|
||||
if (mState.isTouchExploring()) {
|
||||
|
||||
Reference in New Issue
Block a user