Remove deprecated accessibilityStates property. (#26168)

Summary:
We added the accessibilityState property as a more semantically rich way for components to describe information about their state to accessibility services. This PR removes the old accessibilityStates property.

 <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->

## Changelog

[General] [Change] - Remove accessibilityStates property.
Pull Request resolved: https://github.com/facebook/react-native/pull/26168

Test Plan: Ensure that RNTester accessibility examples function properly on both iOS and Android.

Differential Revision: D17152891

Pulled By: cpojer

fbshipit-source-id: d71d3cf0f2e0846979d2ba104b6c69e4e5725252
This commit is contained in:
Marc Mulcahy
2019-09-02 11:25:31 -07:00
committed by Facebook Github Bot
parent 0165489b8f
commit 7b35f427fd
25 changed files with 19 additions and 208 deletions
@@ -40,9 +40,6 @@ public abstract class BaseViewManagerDelegate<
case ViewProps.ACCESSIBILITY_STATE:
mViewManager.setViewState(view, (ReadableMap) value);
break;
case ViewProps.ACCESSIBILITY_STATES:
mViewManager.setViewStates(view, (ReadableArray) value);
break;
case ViewProps.BACKGROUND_COLOR:
mViewManager.setBackgroundColor(view, value == null ? 0 : ((Double) value).intValue());
break;