Delete sStateDescription from BaseViewManager (#36904)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36904

In this diff I'm deleting sStateDescription from BaseViewManager, which their usages were originally deleted in D17152891

bypass-github-export-checks

changelog: [Android][Deleted] Delete sStateDescription from BaseViewManager, it's safe to delete because it shouldn't be used anywhere

Reviewed By: genkikondo

Differential Revision: D44682968

fbshipit-source-id: 732c32429b2c0c107f7968ece5b2e1ed256eed90
This commit is contained in:
David Vacca
2023-04-19 20:37:52 -07:00
committed by Facebook GitHub Bot
parent bbc3657ff4
commit 6babe4acfa
@@ -44,21 +44,9 @@ public abstract class BaseViewManager<T extends View, C extends LayoutShadowNode
private static final int PERSPECTIVE_ARRAY_INVERTED_CAMERA_DISTANCE_INDEX = 2;
private static final float CAMERA_DISTANCE_NORMALIZATION_MULTIPLIER = (float) Math.sqrt(5);
private static MatrixMathHelper.MatrixDecompositionContext sMatrixDecompositionContext =
private static final MatrixMathHelper.MatrixDecompositionContext sMatrixDecompositionContext =
new MatrixMathHelper.MatrixDecompositionContext();
private static double[] sTransformDecompositionArray = new double[16];
public static final Map<String, Integer> sStateDescription = new HashMap<>();
static {
sStateDescription.put("busy", R.string.state_busy_description);
sStateDescription.put("expanded", R.string.state_expanded_description);
sStateDescription.put("collapsed", R.string.state_collapsed_description);
}
// State definition constants -- must match the definition in
// ViewAccessibility.js. These only include states for which there
// is no native support in android.
private static final double[] sTransformDecompositionArray = new double[16];
private static final String STATE_CHECKED = "checked"; // Special case for mixed state checkboxes
private static final String STATE_BUSY = "busy";