FrameworkRepoTest.kt |
A wrapper to interact with an underlying mock [AccessibilityManager] instance that supports
[AccessibilityManager.addTouchExplorationStateChangeListener].
It is necessary to write our own implementation because the Robolectric shadows do not support
[TouchExplorationStateChangeListener]s.
Note that this does not recreate [AccessibilityManager.isEnabled] functionality:
[AccessibilityManager.isTouchExplorationEnabled] and friends are derived from that value so the application
never checks it and we don't need to model it either.
|
4359 |