Refactor A2dpStore to be a non-static object
- Updated all methods to be non-static - Introduced createCodecConfig to simplify controller code Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: Ib923033645668fd7dd5529bdc9f5e4415023e11c
This commit is contained in:
@@ -375,9 +375,10 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
controllers.add(new BluetoothAbsoluteVolumePreferenceController(context));
|
||||
controllers.add(new BluetoothInbandRingingPreferenceController(context));
|
||||
controllers.add(new BluetoothAvrcpVersionPreferenceController(context));
|
||||
final BluetoothA2dpConfigStore store = new BluetoothA2dpConfigStore();
|
||||
// bluetooth audio codec
|
||||
controllers.add(new BluetoothAudioSampleRatePreferenceController(context, lifecycle,
|
||||
bluetoothA2dpLock));
|
||||
bluetoothA2dpLock, store));
|
||||
// bluetooth audio bits per sample
|
||||
// bluetooth audio channel mode
|
||||
// bluetooth audio ldac codec: playback quality
|
||||
|
Reference in New Issue
Block a user