Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add null check for gesture ended notifier
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
- Loading branch information