mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add @DoNotStrip annotation to getJavaModule
Summary: For some reason, I think this method is being optimized away, which is really strange considering that it's being used in getModule. Changelog: [Internal] Reviewed By: ejanzer Differential Revision: D19454855 fbshipit-source-id: 414b4888f7aacf730dd22939e2e2140b94dff4e7
This commit is contained in:
committed by
Facebook Github Bot
parent
459c54c407
commit
44678bbf76
@@ -56,6 +56,7 @@ public class TurboModuleManager implements JSIModule, TurboModuleRegistry {
|
||||
return mTurbomoduleManagerDelegate.getEagerInitModuleNames();
|
||||
}
|
||||
|
||||
@DoNotStrip
|
||||
@Nullable
|
||||
private TurboModule getJavaModule(String name) {
|
||||
if (!mTurboModules.containsKey(name)) {
|
||||
|
||||
Reference in New Issue
Block a user