1. Add callback to listen to device update 2. Add charging support for bt battery icon 3. When disconnected, only show main icon Follow CL will update battery icon to show exclamation when it is low. Bug: 124455912 Test: RunSettingsRoboTests Change-Id: I03fb3bf4c4b77711e14b1f2f53733771b525fe4b
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.