Remove enableDrawMutationFix feature flag and ship it

Summary:
This was added to prevent mutating the UI during draw or measure, and appears to have been effective. Keep the comments, ship the feature, remove flags.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D25258409

fbshipit-source-id: 36ad8a03d1eb82bc9dcd769372c03f1ebe8b8da8
This commit is contained in:
Joshua Gross
2020-12-01 19:52:45 -08:00
committed by Facebook GitHub Bot
parent 6864e5f3ac
commit 067d2eee03
2 changed files with 5 additions and 10 deletions
@@ -86,9 +86,6 @@ public class ReactFeatureFlags {
/** Disable customDrawOrder in ReactViewGroup under Fabric only. */
public static boolean disableCustomDrawOrderFabric = false;
/** Potential bugfix for crashes caused by mutating the view hierarchy during onDraw. */
public static boolean enableDrawMutationFix = true;
/** Use lock-free data structures for Fabric MountItems. */
public static boolean enableLockFreeMountInstructions = false;
}