Shows keyboard shortcut info in magnification settings when a physical keyboard is present. See bug for screenshots. Hides touchscreen info in magnification settings when a touchscreen is not present. Adds ShadowInputDevice support for physical full keyboards. Bug: b/388847050 Test: Manual, atest ToggleScreenMagnificationPreferenceFragmentTest Flag: com.android.server.accessibility.enable_magnification_keyboard_control Change-Id: Ib53fbd8f929d1cc8e294f6f04bab405c9bb576a9
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