mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 23:05:01 +08:00
Implement FabricUIManagerModule in Android
Reviewed By: achen1 Differential Revision: D7031902 fbshipit-source-id: a8d9d505f981ac4268760efa32f4cbc7955aec32
This commit is contained in:
committed by
Facebook Github Bot
parent
47addd8e34
commit
4371d1e1d0
@@ -72,7 +72,7 @@ import javax.annotation.Nullable;
|
||||
*/
|
||||
@ReactModule(name = UIManagerModule.NAME)
|
||||
public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||
OnBatchCompleteListener, LifecycleEventListener, PerformanceCounter {
|
||||
OnBatchCompleteListener, LifecycleEventListener, PerformanceCounter, UIModule {
|
||||
|
||||
/**
|
||||
* Enables lazy discovery of a specific {@link ViewManager} by its name.
|
||||
@@ -287,6 +287,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||
*
|
||||
* <p>TODO(6242243): Make addRootView thread safe NB: this method is horribly not-thread-safe.
|
||||
*/
|
||||
@Override
|
||||
public <T extends SizeMonitoringFrameLayout & MeasureSpecProvider> int addRootView(
|
||||
final T rootView) {
|
||||
Systrace.beginSection(
|
||||
|
||||
Reference in New Issue
Block a user