1. Fix the wrong "disable" setting as bluetooth state is off 2. disable the switcher as bluetooth state is disabled Bug: 336448875 Test: atest Change-Id: I34d9f6aef11712cad16ff105c5859a694f1fe9c9
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.