mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: The `notifyNativeGestureEnded` API is added to notify user gesture ended, so that any optimization we had during handling the gesture can be restored. It's possible that when the gesture finishes, the RootView is already unmounted from the native side. This might happen when user starts a gesture that caused leave of the RN screen, or close the app. Changelog: [Android][Internal] - Avoid NPE for gesture notifier Reviewed By: javache Differential Revision: D35902523 fbshipit-source-id: 9bb5819a53dd053290031eebaae1b8f0318ae534