Skip to content

Commit

Permalink
Delete sStateDescription from BaseViewManager (facebook#36904)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Apr 20, 2023
1 parent bbc3657 commit 6babe4a
Showing 1 changed file with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 6babe4a

Please sign in to comment.