This CL tries to detect Bluetooth hearing aid devices and tries to combine the entry of the hearing aids with the same HiSyncIds and show only 1 entry for each pair in the connected devices list. This CL also shows 2 battery status in the device details page. This change shows the combined entry after a user returns to the settings activity after pressing the back button or somehow without killing it. It also combines the entries just after pairing. Test: RunSettingsRoboTests Bug: 74204427 Change-Id: I47fb0bdd96b1cc972d88a4aef85d0113985d63bb
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.