mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use a surface switch
Summary: Flesh out how surface will be used with a flag in ReactRootView Reviewed By: mdvacca Differential Revision: D14112897 fbshipit-source-id: adf6078048dbf83452d3523f0530a4d6dca7b3e8
This commit is contained in:
committed by
Facebook Github Bot
parent
c5b8b292e2
commit
bc06d1cc9c
@@ -1045,7 +1045,7 @@ public class ReactInstanceManager {
|
||||
|
||||
@Nullable Bundle initialProperties = rootView.getAppProperties();
|
||||
final int rootTag = uiManagerModule.addRootView(
|
||||
rootView,
|
||||
rootView.getView(),
|
||||
initialProperties == null ?
|
||||
new WritableNativeMap() : Arguments.fromBundle(initialProperties),
|
||||
rootView.getInitialUITemplate());
|
||||
|
||||
Reference in New Issue
Block a user