commit | 9149ab432740f0e15abbb8b55ecb0ab9d27f9c3c | [log] [tgz] |
---|---|---|
author | Erfan Abdi <erfangplus@gmail.com> | Wed Aug 21 17:25:21 2019 +0430 |
committer | Michael Bestas <mkbestas@lineageos.org> | Fri Oct 20 02:04:37 2023 +0300 |
tree | ccde20c238256822957ee43bf0438f548bd06197 | |
parent | 95d4ec304fdf8d4e9811ee2a5d4a71dc7bb5ca83 [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