mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Updates event category deduction to match iOS implementation. The event priority is used by concurrent mode to prioritize certain events, where Cxx part already assigns the correct priority based on the `ContinuousStart` -> `ContinuousEnd` spans. These spans can be deduced from the touch events, which we do in this implementation. All events that can be "coalesced" (dispatched through `invokeUnique`) are assigned `Continuous` by default in Fabric core, so scroll/slider change events will never be discrete. Changelog: [Internal] Add category deduction to Android touch events Reviewed By: mdvacca Differential Revision: D31233233 fbshipit-source-id: f5b039aa137f1b4d2e2b15578bfc29ab6903a081