diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2017-02-05 15:45:06 -0800 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2017-02-06 13:07:23 -0800 |
commit | 23f591d8e8c7009f314f227db5bb16afe1d8be5d (patch) | |
tree | f8a9cca10f6e90cf150076a3c55c137ca697b2a1 /framework/java/android/bluetooth/BluetoothMapClient.java | |
parent | a9476a4243a9deca4586b862f294630e858373e0 (diff) |
Add a mechanism to configure the default A2DP codec priorities
Previously, the relative codec priorities were hard-codec internally.
The new mechanism uses the following configurable resources in
packages/apps/Bluetooth/res/values/config.xml to re-assign the
default codec priorities per device, or to explicitly disable a codec.
- a2dp_source_codec_priority_sbc
- a2dp_source_codec_priority_aac
- a2dp_source_codec_priority_aptx
- a2dp_source_codec_priority_aptx_hd
- a2dp_source_codec_priority_ldac
Those values are assigned on startup.
Also, they can be changed per device by using an overlay:
device/<VENDOR>/<DEVICE>/overlay/packages/apps/Bluetooth/res/values/config.xml
Test: Manually streaming to a headset
Change-Id: Ic4da3a51ac73f00cbae731156cb7878c8fadee06
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions