The AccessibilityMetricsFeatureProvider currently provides page IDs derived from component names, primarily for metrics purposes. However, its functionality should be expanded to also support feedback needs, not just metrics collection, by returning appropriate settings enum values. Bug: 393980229 Test: atest AccessibilityMetricsFeatureProviderGoogleImplTest Flag: com.android.server.accessibility.enable_low_vision_generic_feedback Change-Id: I2d64db866010ae5e3c6a9738f92860df3d0b86aa
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest