Get the PreferenceGroup there and add/remove preference through the callback Also add ConnectedBluetoothDeviceUpdater which only filter the connected device. Bug: 69333961 Test: RunSettingsRoboTests Change-Id: Ia2ab6b6708329227929d6fe442df3a8d45bf86f5
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.