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

Merged-In: Iedbfd01c0d1b59df8a073f4e9aedca3913e6d45f
Change-Id: I90ed0d83c3250c64789e27707b0b7bff30043335
This commit is contained in:
Jakub Rotkiewicz
2023-11-22 10:11:25 +00:00
parent 33722b512a
commit de27acef86
11 changed files with 1105 additions and 8 deletions

View File

@@ -1,5 +1,12 @@
package: "com.android.settings.development"
flag {
name: "a2dp_offload_codec_extensibility_settings"
namespace: "bluetooth"
description: "Feature flag for Bluetooth Audio Codec extensibility in Settings"
bug: "323319530"
}
flag {
name: "deprecate_list_activity"
namespace: "android_settings"