mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
addd233d31
Summary: Public We wanted to do this before, but couldn't because touch events had timestamps set by the system (and matched System.currentTimeMillis), but now we set those timestamps! The idea behind this change is that System.currentTimeMillis is unreliable, but nanoTime isn't, and it also guarantees that we will never have two events with the same timestamp. We're still seeing crashes with touch events not ending correctly in JS, this might be the cause of that. Reviewed By: foghina Differential Revision: D2953917