mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove react_native_new_architecture.enable_runtimescheduler_in_turbomodule_android flag
Summary: changelog: [internal] Turbomodules with RuntimeScheduler on Android are shipped. Let's remove the flag. jest_e2e[run_all_tests] Reviewed By: RSNara Differential Revision: D38456492 fbshipit-source-id: 3dd77c4dc644f1f84b5b74f346fefd701d4cb515
This commit is contained in:
committed by
Facebook GitHub Bot
parent
051a67784f
commit
4899f8c5e6
@@ -108,8 +108,7 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
||||
// C++ parts
|
||||
private final HybridData mHybridData;
|
||||
|
||||
private static native HybridData initHybrid(
|
||||
boolean enableRuntimeScheduler, boolean enableRuntimeSchedulerInTurboModule);
|
||||
private static native HybridData initHybrid(boolean enableRuntimeScheduler);
|
||||
|
||||
public native CallInvokerHolderImpl getJSCallInvokerHolder();
|
||||
|
||||
@@ -124,15 +123,7 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
||||
FLog.d(ReactConstants.TAG, "Initializing React Xplat Bridge.");
|
||||
Systrace.beginSection(TRACE_TAG_REACT_JAVA_BRIDGE, "createCatalystInstanceImpl");
|
||||
|
||||
if (ReactFeatureFlags.enableRuntimeSchedulerInTurboModule
|
||||
&& !ReactFeatureFlags.enableRuntimeScheduler) {
|
||||
Assertions.assertUnreachable();
|
||||
}
|
||||
|
||||
mHybridData =
|
||||
initHybrid(
|
||||
ReactFeatureFlags.enableRuntimeScheduler,
|
||||
ReactFeatureFlags.enableRuntimeSchedulerInTurboModule);
|
||||
mHybridData = initHybrid(ReactFeatureFlags.enableRuntimeScheduler);
|
||||
|
||||
mReactQueueConfiguration =
|
||||
ReactQueueConfigurationImpl.create(
|
||||
|
||||
@@ -72,8 +72,6 @@ public class ReactFeatureFlags {
|
||||
|
||||
public static boolean enableRuntimeScheduler = false;
|
||||
|
||||
public static boolean enableRuntimeSchedulerInTurboModule = false;
|
||||
|
||||
/** Feature flag to configure eager attachment of the root view/initialisation of the JS code */
|
||||
public static boolean enableEagerRootViewAttachment = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user