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
This commit is contained in:
David Vacca
2023-11-15 22:43:49 -08:00
committed by Facebook GitHub Bot
parent 2aeeb806f1
commit a86a9a392d
@@ -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;