Missing @DoNotStrip

Reviewed By: javache

Differential Revision: D4715719

fbshipit-source-id: c689ea68efafeb353382c8c3b72f5616932ad761
This commit is contained in:
Marc Horowitz 2017-03-15 13:35:36 -07:00 committed by Facebook Github Bot
parent 5873a228f4
commit 6eb9ee2652

View File

@ -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();