Commit e1a31dc
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: 7acccbdca62e10022258523fd2a6eeb523b962731 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
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments