Merge "Transition to clear state after gesture cancelation."
This commit is contained in:
@@ -207,6 +207,11 @@ public class TouchState {
|
||||
case AccessibilityEvent.TYPE_GESTURE_DETECTION_START:
|
||||
startGestureDetecting();
|
||||
break;
|
||||
case AccessibilityEvent.TYPE_GESTURE_DETECTION_END:
|
||||
// Clear to make sure that we don't accidentally execute passthrough, and that we
|
||||
// are ready for the next interaction.
|
||||
clear();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user