Introduce BluetoothAvrcpVersionPreferenceCtrl

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I752a5d1d777b216e102a5e074f55fa73e63ff6ca
This commit is contained in:
jeffreyhuang
2017-10-06 10:24:35 -07:00
parent e2fc925bb3
commit ff1e0e1041
3 changed files with 241 additions and 1 deletions

View File

@@ -285,7 +285,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new BluetoothDeviceNoNamePreferenceController(context));
controllers.add(new BluetoothAbsoluteVolumePreferenceController(context));
controllers.add(new BluetoothInbandRingingPreferenceController(context));
// bluetooth avrcp version
controllers.add(new BluetoothAvrcpVersionPreferenceController(context));
// bluetooth audio codec
// bluetooth audio sample rate
// bluetooth audio bits per sample