1. Move the config update to jobscheduler, so config is checked and updated every day. 2. Before the update, always delete the old config. 3. Move uploadIntent method to BatteryTipUtils. Bug: 74997752 Fixes: 74564143 Test: RunSettingsRoboTests Change-Id: If88759595d57a562b25542082f895fe8f207acdb
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.