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:
Ramanpreet Nara 2020-01-17 15:57:50 -08:00 коммит произвёл Facebook Github Bot
Родитель 459c54c407
Коммит 44678bbf76
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -56,6 +56,7 @@ public class TurboModuleManager implements JSIModule, TurboModuleRegistry {
return mTurbomoduleManagerDelegate.getEagerInitModuleNames();
}
@DoNotStrip
@Nullable
private TurboModule getJavaModule(String name) {
if (!mTurboModules.containsKey(name)) {