Refactor Bluetooth Codec settings to dynamic ListPreference
Fetch supported codecs from native and present to user using ListPreference. Bug: 305779598 Bug: 311451118 Bug: 323319530 Tag: #feature Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.AbstractBluetoothListPreferenceController Test: atest SettingsRoboTests:com.android.settings.development.bluetooth.BluetoothCodecListPreferenceControllerTest Change-Id: Iedbfd01c0d1b59df8a073f4e9aedca3913e6d45f
This commit is contained in:
@@ -430,6 +430,11 @@
|
||||
android:positiveButtonText=""
|
||||
android:negativeButtonText="@string/dlg_ok"/>
|
||||
|
||||
<ListPreference
|
||||
android:key="bluetooth_audio_codec_settings_list"
|
||||
android:title="@string/bluetooth_select_a2dp_codec_type"
|
||||
android:dialogTitle="@string/bluetooth_select_a2dp_codec_type_dialog_title"/>
|
||||
|
||||
<com.android.settings.development.bluetooth.BluetoothSampleRateDialogPreference
|
||||
android:key="bluetooth_sample_rate_settings"
|
||||
android:title="@string/bluetooth_select_a2dp_codec_sample_rate"
|
||||
|
||||
Reference in New Issue
Block a user