Introduce BluetoothInbandRingingPreferenceCtrl

- Create new BluetoothInbandRingingPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I2551803b50323c93ce8f1595d5bbab92b7a18ed4
This commit is contained in:
jeffreyhuang
2017-09-26 13:35:44 -07:00
parent f77a3fbdc3
commit 25ce51f4af
4 changed files with 241 additions and 2 deletions

View File

@@ -270,7 +270,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// select usb configuration
controllers.add(new BluetoothDeviceNoNamePreferenceController(context));
controllers.add(new BluetoothAbsoluteVolumePreferenceController(context));
// enable in-band ringing
controllers.add(new BluetoothInbandRingingPreferenceController(context));
// bluetooth avrcp version
// bluetooth audio codec
// bluetooth audio sample rate