commit | d84e8f7fdf1a61956953660d3af226c3b147e3bb | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jan 25 18:15:35 2019 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Jan 25 18:15:35 2019 -0800 |
tree | f2c1784fa749f8ba511cb333d404ec296eb438b4 | |
parent | 049aa255f9c1746f22cd9c562bd9cb8faaddb3d2 [diff] |
audio policy: fix legacy Ad2P with advanced codecs The changes for hybrid A2DP broke advanced codec support for devices running a HAL V4.0 and no A2DP offload. Fix: consider that if no encoded format is explicitely listed in the device descriptor in audio policy configuration file, then no rule on encoded format should be enforced. Bug: 123399421 Test: connect Sony MDR-1 headphones and play music. Change-Id: Idd13cf0e0cdeb71554b23d178e61cc1d82abea60