Don't strip NativeRunnable constructor. Fixes #6624

Summary:Fixes proguard in RN 0.22.+. Closes #6624
Closes https://github.com/facebook/react-native/pull/6626

Differential Revision: D3092892

fb-gh-sync-id: 3aaf97c6f1c7b5d575cb912196b43955d9ef10fb
shipit-source-id: 3aaf97c6f1c7b5d575cb912196b43955d9ef10fb
This commit is contained in:
Dmitry Gladkov 2016-03-24 08:15:58 -07:00 committed by Facebook Github Bot 5
parent 1396de9989
commit 393890e00f
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ public class NativeRunnable implements Runnable {
private final HybridData mHybridData; private final HybridData mHybridData;
@DoNotStrip
private NativeRunnable(HybridData hybridData) { private NativeRunnable(HybridData hybridData) {
mHybridData = hybridData; mHybridData = hybridData;
} }