- Log the optimize mode only when leave this page and mode changed - Update mOptimizationMode at onResume to make sure the state is sync with framework Bug: 195306545 Test: make SettingsRoboTests Change-Id: Iab116220cd7d2b1bdb1c170c4b47016c763bf4fe
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.