mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Missing @DoNotStrip
Reviewed By: javache Differential Revision: D4715719 fbshipit-source-id: c689ea68efafeb353382c8c3b72f5616932ad761
This commit is contained in:
committed by
Facebook Github Bot
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();
|
||||
|
||||
Reference in New Issue
Block a user