Yoga test failure for flexing with min stack dimension

Reviewed By: emilsjolander

Differential Revision: D4558653

fbshipit-source-id: 06b38d7ed43aee063cc881f38b84558641f043f3
This commit is contained in:
Georgiy Kassabli authored and Facebook Github Bot committed 2017-02-28 16:30:40 -08:00
1 parent 761d528153
commit 1209b39492
3 files changed
+14 -6

No files matched your search

@@ -14,7 +14,8 @@ import com.facebook.proguard.annotations.DoNotStrip;
@DoNotStrip
public enum YogaExperimentalFeature {
ROUNDING(0),
WEB_FLEX_BASIS(1);
WEB_FLEX_BASIS(1),
MIN_FLEX_FIX(2);
private int mIntValue;
@@ -30,6 +31,7 @@ public enum YogaExperimentalFeature {
switch (value) {
case 0: return ROUNDING;
case 1: return WEB_FLEX_BASIS;
case 2: return MIN_FLEX_FIX;
default: throw new IllegalArgumentException("Unknown enum value: " + value);
}
}