1. On create use UiBlocker as recommended by settings team 2. On resume only update the preferences list if the system setting has changed. Bug: 220837804 Test: manual Change-Id: Ieebd2e7fd74ab05d4fb73aede6868553d7d84af1
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.