Skip to content

Commit 34d7c00

Browse files
sammy-SCfacebook-github-bot
authored andcommitted
downgrade NativeViewHierarchyOptimizer deprecation from ERROR to WARNING to fix template app build
Summary: 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. Differential Revision: D94095560
1 parent 58ed78f commit 34d7c00

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)