Files
app_Settings/tests/robotests
Yuhan Yang a8eecd48d9 Add observer to autoclick main switch controller
Add an observer in ToggleAutoclickMainSwitchPreferenceController
so when the autoclick is toggled on/off at somewhere else such as
autoclick shortcut, the main switch will change accordingly.

screen cast:
go/screencast-njawnjqynzi2ode1mzm0nhxmztqwmddjzc03oa

Bug: 391416057
Test: verified manually
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I6e2a3af55cbd3f03b4feeb268b84510fc55518bf
2025-03-12 19:13:05 +00:00
..

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