Remove useVanillaJNI flag and usage of fbjni in yoga build
Summary: ## Changelog: [General] [Yoga] - Use vanilla jni instead of fbjni for all the jni communication Reviewed By: astreet Differential Revision: D17808005 fbshipit-source-id: 5e9a1ed73978f519c71c248774a28e5a294e7c7f
This commit is contained in:
committed by
Facebook Github Bot
parent
5960dd888d
commit
f99da09716
@@ -12,10 +12,6 @@ public class YogaNodeJNIFinalizer extends YogaNodeJNIBase {
|
||||
super();
|
||||
}
|
||||
|
||||
public YogaNodeJNIFinalizer(boolean useVanillaJNI) {
|
||||
super(useVanillaJNI);
|
||||
}
|
||||
|
||||
public YogaNodeJNIFinalizer(YogaConfig config) {
|
||||
super(config);
|
||||
}
|
||||
@@ -33,10 +29,7 @@ public class YogaNodeJNIFinalizer extends YogaNodeJNIBase {
|
||||
if (mNativePointer != 0) {
|
||||
long nativePointer = mNativePointer;
|
||||
mNativePointer = 0;
|
||||
if (useVanillaJNI)
|
||||
YogaNative.jni_YGNodeFreeJNI(nativePointer);
|
||||
else
|
||||
YogaNative.jni_YGNodeFree(nativePointer);
|
||||
YogaNative.jni_YGNodeFreeJNI(nativePointer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user