- Add an broadcast receiver to monitor the Home key. - Add the sClickedInSlice flag to verify Dark theme is changed by slice or not. Bug: 142476879 Fixes: 146149658 Fixes: 146652692 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage Change-Id: I174d0c861ea3b3f793201e3b2e0ff65a1e690f4e
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.