Skip to content

Commit e1a31dc

Browse files
mdvaccameta-codesync[bot]
authored andcommitted
Inline true in ReactActivityDelegate.isFabricEnabled() (#56857)
Summary: Pull Request resolved: #56857 The `ReactNativeNewArchitectureFeatureFlags.enableFabricRenderer()` flag is being deleted; it always returns true on the canary release stage. The default body of `ReactActivityDelegate.isFabricEnabled()` reads the flag — change it to `return true` directly. The method itself is preserved because it is a polymorphic `protected` hook that subclasses (e.g., `DefaultReactActivityDelegate`) override to provide per-activity behavior. Behavior is unchanged. Changelog: [Internal] Reviewed By: javache Differential Revision: D105230961 fbshipit-source-id: 7acccbdca62e10022258523fd2a6eeb523b96273
1 parent 96c79c9 commit e1a31dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ protected ReactActivity getReactActivity() {
309309
* @return true if Fabric is enabled for this Activity, false otherwise.
310310
*/
311311
protected boolean isFabricEnabled() {
312-
return ReactNativeNewArchitectureFeatureFlags.enableFabricRenderer();
312+
return true;
313313
}
314314

315315
/**

0 commit comments

Comments
 (0)