mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 22:23:37 +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.annotation.Nullable;
|
||||||
import javax.inject.Provider;
|
import javax.inject.Provider;
|
||||||
|
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
import com.facebook.react.bridge.NativeModule;
|
import com.facebook.react.bridge.NativeModule;
|
||||||
import com.facebook.react.bridge.ReactMarker;
|
import com.facebook.react.bridge.ReactMarker;
|
||||||
import com.facebook.react.bridge.ReactMarkerConstants;
|
import com.facebook.react.bridge.ReactMarkerConstants;
|
||||||
@ -75,6 +76,7 @@ public class ModuleHolder {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return mName;
|
return mName;
|
||||||
}
|
}
|
||||||
@ -87,6 +89,7 @@ public class ModuleHolder {
|
|||||||
return mSupportsWebWorkers;
|
return mSupportsWebWorkers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
public synchronized NativeModule getModule() {
|
public synchronized NativeModule getModule() {
|
||||||
if (mModule == null) {
|
if (mModule == null) {
|
||||||
mModule = create();
|
mModule = create();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user