mirror of
https://github.com/react/react-native.git
synced 2026-10-05 11:21:15 +08:00
Summary: public UIManageModule creates AnimationRegistry but never uses it, this diff moves it to NativeViewHierarchyManager who owns it. UIViewOperationQueue depends on AnimationRegistry to perform some of the enqueued operations, so it accessed it through a getting in NativeViewHierarchyManager. This will also make sure NativeViewHierarchyManager. and UIViewOperationQueue operate on the same AnimationManager (previously, that wasn't really enforced). This is needed so I can move away UIViewOperationQueue creation off the UIManagerModule. This diff should have no functional changes whatsoever. Reviewed By: astreet Differential Revision: D2462605 fb-gh-sync-id: 1e3cd64908f51126362f2b5fb39b1efa6521854e