we should clear icon cache if theme is changed between light and dark theme, otherwise we may show incorrect styled icon for applications Bug: 185187729 Test: make SettingsRoboTests Change-Id: Ib06abe5a5345b2ea363a04ecaec886a4765fd8ab
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.