Store contextual screen timeout preference when the corresponding switch is toggled. Bug: 295232527 Test: atest ExternalSettingsProviderTest Test: atest ContextualTimeoutPreferenceControllerTest Change-Id: I093d180f4b11ebb806c4b1949ff5428520c8f40f
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.