mirror of
https://github.com/react/react-native.git
synced 2026-10-29 18:13:04 +08:00
Summary: Move yoga node config related jni methods to vanilla jni Reviewed By: amir-shalem Differential Revision: D17684821 fbshipit-source-id: 31a667b3ad67501aaef83a132971e4e0826cacd4
12 lines
273 B
Java
12 lines
273 B
Java
package com.facebook.yoga;
|
|
|
|
public abstract class YogaConfigFactory {
|
|
public static YogaConfig create() {
|
|
return new YogaConfigJNIFinalizer();
|
|
}
|
|
|
|
public static YogaConfig create(boolean useVanillaJNI) {
|
|
return new YogaConfigJNIFinalizer(useVanillaJNI);
|
|
}
|
|
}
|