In the Device details of Settings App and when using two Hearing Aids devices (left and right sides), this will fix the connect state messages for these two devices. Also added Robo tests for the changes. Test: Manual tests and also ran RunSettingsLibRoboTests and RunSettingsRoboTests. Bug: 117074814 Bug: 116725094 Change-Id: I169cda4a1658b0a67cc7c7367b38d57a021e6953 Merged-In: I0b1a170967ddcce7f388603fd521f6ed1eeba30b Merged-In: I169cda4a1658b0a67cc7c7367b38d57a021e6953
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.