- only this preference use AppPreference.setProgress() - create layout to handle progressbar in this class Bug: 365506467 Test: atest Flag: EXEMPT bugfix Change-Id: Ie0daf4e4fc1736943afe243566392d57c63fe65a
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