When there is configuration change(icicle is not null), still force update all suggestion except app restriction. App restriction is not stateless: state HANDLED only happens when there is anomaly and it disappear in next cycle. So we should only update it when necessary. Change-Id: Ifb7a1c477962a0c78b5455a5fbc078590fd408f2 Fixes: 77973093 Test: RunSettingsRoboTests
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.