Monitor Bluetooth Tethering state and update preference when there is Bluetooth tethering state change. Add test case to verify when recieve BluetoothPan.TETHERING_STATE_CHANGED will update bluetooth state Bug: 138688805 Test: make RunSettingsRoboTests Merged-Id: I8f468d1d99ed6d87f6cd8305ef56b0d7a5dec95b Change-Id: I8f468d1d99ed6d87f6cd8305ef56b0d7a5dec95b
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.