mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
2aeeb806f1
commit
a86a9a392d
+2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user