mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 22:48:25 +08:00
Remove the flag about Lazy native modules
Summary: The method removes all settings for mLazyReactModules since Lazy and non lazy modules can exist in a single application now Reviewed By: achen1 Differential Revision: D9012312 fbshipit-source-id: 0420149654f8146453250d83d4de4b4c2fd31e9f
This commit is contained in:
committed by
Facebook Github Bot
parent
42146a7a4a
commit
407e033b34
@@ -30,19 +30,15 @@ public class NativeModuleRegistryBuilder {
|
||||
|
||||
private final ReactApplicationContext mReactApplicationContext;
|
||||
private final ReactInstanceManager mReactInstanceManager;
|
||||
private final boolean mLazyNativeModulesEnabled;
|
||||
|
||||
private final Map<String, ModuleHolder> mModules = new HashMap<>();
|
||||
private final Map<String,String> namesToType = new HashMap<>();
|
||||
|
||||
public NativeModuleRegistryBuilder(
|
||||
ReactApplicationContext reactApplicationContext,
|
||||
ReactInstanceManager reactInstanceManager,
|
||||
boolean lazyNativeModulesEnabled) {
|
||||
ReactInstanceManager reactInstanceManager) {
|
||||
mReactApplicationContext = reactApplicationContext;
|
||||
mReactInstanceManager = reactInstanceManager;
|
||||
// TODO T32034141 Remove mLazyNativeModulesEnabled
|
||||
mLazyNativeModulesEnabled = lazyNativeModulesEnabled;
|
||||
}
|
||||
|
||||
public void processPackage(ReactPackage reactPackage) {
|
||||
|
||||
Reference in New Issue
Block a user