commit | c27bb3a32b066cadb8bf5a0d3d9ee51e1413e29a | [log] [tgz] |
---|---|---|
author | Erfan Abdi <erfangplus@gmail.com> | Wed Aug 21 17:25:21 2019 +0430 |
committer | Bruno Martins <bgcngm@gmail.com> | Sun Oct 18 10:31:43 2020 +0100 |
tree | 4e30893610d45c6c3880d07fbd381b67498c661a | |
parent | b5ca4f8379584a59814237f046dd0a6fd57e0296 [diff] |
FM: Add backward compatiblity support for oreo FM configs * Due to 43bf623710ab5376d98a143ad64f35c9f12d8d95 and some others CAF is completely using audioManager get/setParameters to set DEVICE_OUT_FM for FM audio path, but on older devices with oreo mixer paths and kernel drivers this doesn’t work and breaks audio output although FM recording works. * “ro.vendor.fm.use_audio_session” prop is for using AudioTrack session to set audio path. Patch was ported to Q due to these commits https://github.com/LineageOS/android_vendor_qcom_opensource_fm-commonsys/commit/dfa459344f7af1e712e7570bf694f77340850772 https://github.com/LineageOS/android_frameworks_base/commit/9fbc205fdc67b2dbc8ccfc4325fb60475f020983 Change-Id: I9acead5b810a0ec5df4322ddd3ea19930f81b42e