Ship insertZReorderBarriersOnViewGroupChildren

Summary:
Ship insertZReorderBarriersOnViewGroupChildren

changelog: [internal] internal

Reviewed By: makovkastar

Differential Revision: D40403388

fbshipit-source-id: bf13f6a7af92c0c4fd3377a547a56b163dfe29ed
This commit is contained in:
David Vacca
2022-10-18 13:32:03 -07:00
committed by Facebook GitHub Bot
parent 9578c2cadf
commit 8eebc931bc
2 changed files with 1 additions and 5 deletions
@@ -82,8 +82,6 @@ public class ReactFeatureFlags {
/** Feature Flag to use overflowInset values provided by Yoga */
public static boolean useOverflowInset = false;
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
public static boolean dispatchPointerEvents = false;
/** Feature Flag to enable the pending event queue in fabric before mounting views */
@@ -33,7 +33,6 @@ import com.facebook.react.bridge.ReactNoCrashSoftException;
import com.facebook.react.bridge.ReactSoftExceptionLogger;
import com.facebook.react.bridge.UiThreadUtil;
import com.facebook.react.common.annotations.VisibleForTesting;
import com.facebook.react.config.ReactFeatureFlags;
import com.facebook.react.modules.i18nmanager.I18nUtil;
import com.facebook.react.touch.OnInterceptTouchEventListener;
import com.facebook.react.touch.ReactHitSlopView;
@@ -828,8 +827,7 @@ public class ReactViewGroup extends ViewGroup
@Override
protected boolean drawChild(Canvas canvas, View child, long drawingTime) {
boolean drawWithZ =
child.getElevation() > 0 && ReactFeatureFlags.insertZReorderBarriersOnViewGroupChildren;
boolean drawWithZ = child.getElevation() > 0;
if (drawWithZ) {
CanvasUtil.enableZ(canvas, true);