mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Missing @DoNotStrip
Reviewed By: javache Differential Revision: D4715719 fbshipit-source-id: c689ea68efafeb353382c8c3b72f5616932ad761
This commit is contained in:
parent
5873a228f4
commit
6eb9ee2652
@ -5,6 +5,7 @@ package com.facebook.react.cxxbridge;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.inject.Provider;
|
||||
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
import com.facebook.react.bridge.NativeModule;
|
||||
import com.facebook.react.bridge.ReactMarker;
|
||||
import com.facebook.react.bridge.ReactMarkerConstants;
|
||||
@ -75,6 +76,7 @@ public class ModuleHolder {
|
||||
}
|
||||
}
|
||||
|
||||
@DoNotStrip
|
||||
public String getName() {
|
||||
return mName;
|
||||
}
|
||||
@ -87,6 +89,7 @@ public class ModuleHolder {
|
||||
return mSupportsWebWorkers;
|
||||
}
|
||||
|
||||
@DoNotStrip
|
||||
public synchronized NativeModule getModule() {
|
||||
if (mModule == null) {
|
||||
mModule = create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user