Introduce BluetoothAudioChannelModePreferenceCtrl

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I4abe87dd70be83c8b3cf2a3ad43b8856a01eadbb
This commit is contained in:
jeffreyhuang
2017-10-13 14:03:22 -07:00
parent 483dc97998
commit 2335b1fef4
4 changed files with 213 additions and 1 deletions

View File

@@ -383,7 +383,8 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
bluetoothA2dpConfigStore));
controllers.add(new BluetoothAudioBitsPerSamplePreferenceController(context, lifecycle,
bluetoothA2dpConfigStore));
// bluetooth audio channel mode
controllers.add(new BluetoothAudioChannelModePreferenceController(context, lifecycle,
bluetoothA2dpConfigStore));
// bluetooth audio ldac codec: playback quality
controllers.add(new ShowTapsPreferenceController(context));
controllers.add(new PointerLocationPreferenceController(context));