Commit c2156a8
Stub NativeViewHierarchyManager and clean up usages (#55758)
Summary:
Pull Request resolved: #55758
Stub out NativeViewHierarchyManager by removing all fields, private methods, and method body implementations while keeping all public method signatures with empty bodies for backward compatibility with third-party libraries. This follows the same pattern used for UIViewOperationQueue in D93069524.
Also clean up direct usages:
- UIViewOperationQueue: remove NativeViewHierarchyManager constructor parameter and getNativeViewHierarchyManager() method
- UIImplementation: stop creating NativeViewHierarchyManager instance
- ReactAndroid.api: update API surface to reflect constructor change
UIBlock.kt is left unchanged — its execute(NativeViewHierarchyManager) signature is kept for backward compatibility with third-party libraries (expo-modules-core, react-native-maps, gesture-handler, view-shot).
Changelog: [Android][Removed] - Stub out NativeViewHierarchyManager (Legacy Architecture)
Reviewed By: NickGerleman
Differential Revision: D93801180
fbshipit-source-id: 20b2e47c338b8beb4f78593045f49b1a52efa9661 parent 4f7fa58 commit c2156a8
File tree
4 files changed
+109
-775
lines changed- packages/react-native/ReactAndroid
- api
- src/main/java/com/facebook/react/uimanager
4 files changed
+109
-775
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4407 | 4407 | | |
4408 | 4408 | | |
4409 | 4409 | | |
4410 | | - | |
| 4410 | + | |
4411 | 4411 | | |
4412 | 4412 | | |
4413 | 4413 | | |
| |||
0 commit comments