File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
packages/react-native/ReactAndroid/src/main/java/com/facebook/react Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ public class ReactFeatureFlags {
112112 */
113113 public static boolean enableRemoveDeleteTreeInstruction = false ;
114114
115- /** Temporary flag to allow execution of mount items up to 15ms earlier than normal. */
116- public static boolean enableEarlyScheduledMountItemExecution = false ;
117-
118115 /**
119116 * Allow closing the small gap that appears between paths when drawing a rounded View with a
120117 * border.
Original file line number Diff line number Diff line change @@ -799,20 +799,6 @@ public void runGuarded() {
799799 };
800800 if (UiThreadUtil .isOnUiThread ()) {
801801 runnable .run ();
802- } else {
803- // The Choreographer will dispatch any mount items,
804- // but it only gets called at the /beginning/ of the
805- // frame - it has no idea if, or when, there is actually work scheduled. That means if we
806- // have a big chunk of work
807- // scheduled but the scheduling happens 1ms after the
808- // start of a UI frame, we'll miss out on 15ms of time
809- // to perform the work (assuming a 16ms frame).
810- // The DispatchUIFrameCallback still has value because of
811- // the PreMountItems that we need to process at a lower
812- // priority.
813- if (ReactFeatureFlags .enableEarlyScheduledMountItemExecution ) {
814- UiThreadUtil .runOnUiThread (runnable );
815- }
816802 }
817803 }
818804
You can’t perform that action at this time.
0 commit comments