The POWER_SAVE_MODE_CHANGING broadcast is sent at the same time as the POWER_SAVE_MODE_CHANGED broadcast. Since broadcasts are asynchronous, there's no reason to have both, so we're simplifying down to just one. Bug: 79580230 Test: atest BatterySaverReceiverTest Change-Id: Ib27fc91bc23126f58532e534575d912e3b72ac43
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.