From fd1d6b8c65aaecb29ea8c2265864a52a9b0f279b Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 21 Nov 2024 15:45:21 -0800 Subject: [PATCH] Remove DeprecatedInNewArchitecture for ReactProp annotation (#47744) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47744 Remove DeprecatedInNewArchitecture for ReactProp annotation ReactProp is still used in new arch, we might remove this annotation in the future but it will be independent of new arch changelog: [internal] internal Reviewed By: javache Differential Revision: D66216728 fbshipit-source-id: 86d9aeb2932cbf34c57a7a850da0ced5268447bf --- .../com/facebook/react/uimanager/annotations/ReactProp.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/annotations/ReactProp.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/annotations/ReactProp.java index 442248d09b2..e5a088fe4dc 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/annotations/ReactProp.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/annotations/ReactProp.java @@ -10,7 +10,6 @@ package com.facebook.react.uimanager.annotations; import static java.lang.annotation.RetentionPolicy.RUNTIME; import androidx.annotation.Nullable; -import com.facebook.react.common.annotations.DeprecatedInNewArchitecture; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.Target; @@ -47,7 +46,6 @@ import java.lang.annotation.Target; */ @Retention(RUNTIME) @Target(ElementType.METHOD) -@DeprecatedInNewArchitecture public @interface ReactProp { // Used as a default value for "customType" property as "null" is not allowed. Moreover, when this