Although we haven't implemented joystick feature, but the joystick preference controller is already in the codebase, so we also add hiding logic for joystick toggle when in setup wizard. Bug: 340721852 Flag: NONE Test: manually atest MagnificationJoystickPreferenceControllerTest Change-Id: Ife93548583c3e82eac030e6e3aa55b9f643b055a
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