commit | 57a38f37b425bb38bc7d6e556dc5e425794d95dc | [log] [tgz] |
---|---|---|
author | Erfan Abdi <erfangplus@gmail.com> | Wed Aug 21 17:25:21 2019 +0430 |
committer | Arne Coucheron <arco68@gmail.com> | Fri Mar 12 12:04:36 2021 +0100 |
tree | cd33d35284eeb0a91160ad84467539c97fb6fd7f | |
parent | c1e6def58b8d605d754c5c32e9a7b670dd04e78a [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