From a86a9a392d604f39956b09236fd21d705808e02a Mon Sep 17 00:00:00 2001 From: David Vacca Date: Wed, 15 Nov 2023 22:43:49 -0800 Subject: [PATCH] Mark UIManagerType as depreacted in new architecture Summary: The new architecture will only support Fabric UIManager, that's why we will just deprecate UIManagerType as part of the new architecture bypass-github-export-checks changelog: [internal] internal Reviewed By: rshest Differential Revision: D51262582 fbshipit-source-id: ff918ff760e95bbda39f5010b141a542c9171517 --- .../java/com/facebook/react/uimanager/common/UIManagerType.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/UIManagerType.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/UIManagerType.java index 1e1577caabf..884b372eec8 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/UIManagerType.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/UIManagerType.java @@ -12,10 +12,12 @@ import static com.facebook.react.uimanager.common.UIManagerType.FABRIC; import static java.lang.annotation.RetentionPolicy.SOURCE; import androidx.annotation.IntDef; +import com.facebook.react.common.annotations.DeprecatedInNewArchitecture; import java.lang.annotation.Retention; @Retention(SOURCE) @IntDef({DEFAULT, FABRIC}) +@DeprecatedInNewArchitecture public @interface UIManagerType { int DEFAULT = 1; int FABRIC = 2;