All preferences are searchable except for "Keep on while switching apps" which is only searchable if the user already has a magnification shortcut enabled, to minimize user confusion from that generically-named preference. NO_IFTTT=adding IFTTT Fix: 353772926 Test: atest ToggleScreenMagnificationPreferenceFragmentTest Flag: com.android.settings.accessibility.fix_a11y_settings_search Test: adb shell pm clear com.google.android.settings.intelligence; search Settings for the items in the bug Change-Id: I01c7e5586ec0ea432cb2df80f156141683b97522
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