Updates UI and sets preset to remote device when corresponding callback is called. Bug: 300015207 Test: atest BluetoothDetailsHearingAidsPresetsControllerTest Change-Id: Ic013b96acaa6161b861fbae32ddfd77387f9bc47
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.