Introduce BluetoothAbsoluteVolumePreferenceCtrl

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: If5b979e8bb641eb8ad2db58246362ec327e17f36
This commit is contained in:
jeffreyhuang
2017-09-25 17:40:10 -07:00
parent 8caf1ff929
commit 35169cde05
3 changed files with 209 additions and 1 deletions

View File

@@ -210,7 +210,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// tethering hardware acceleration
// select usb configuration
controllers.add(new BluetoothDeviceNoNamePreferenceController(context));
// disable absolute volume
controllers.add(new BluetoothAbsoluteVolumePreferenceController(context));
// enable in-band ringing
// bluetooth avrcp version
// bluetooth audio codec