Skip to content

Commit 2e3284c

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
downgrade NativeViewHierarchyOptimizer deprecation from ERROR to WARNING to fix template app build (facebook#55702)
Summary: Pull Request resolved: facebook#55702 Changelog: [internal] Downgrading from `ERROR` to `WARNING` allows existing references to compile while still signaling that the class is deprecated and should be migrated away from. Reviewed By: alanleedev Differential Revision: D94095560 fbshipit-source-id: dc203b88af129c7505269f89f039db99403f3e4f
1 parent 56e1710 commit 2e3284c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyOptimizer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel
1313
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
1414
@Deprecated(
1515
message = "This class is part of Legacy Architecture and will be removed in a future release",
16-
level = DeprecationLevel.ERROR,
16+
level = DeprecationLevel.WARNING,
1717
)
1818
public class NativeViewHierarchyOptimizer() {}

0 commit comments

Comments
 (0)