Update the battery settings summary and the charging string on the Battery settings page if charging optimization mode is applied. Bug: 329020954 Test: atest SettingsRoboTests Change-Id: Ie906a010d70bcef7fafe235f0287b289ea934705
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.