commit | 75d671958414e30aa881a846ba5b984c8d97b784 | [log] [tgz] |
---|---|---|
author | Erfan Abdi <erfangplus@gmail.com> | Wed Aug 21 17:25:21 2019 +0430 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sun Aug 28 04:29:44 2022 +0300 |
tree | 36c502f76ac0370059f18068777ff0fb050b99fc | |
parent | 53eee3e427e2babd5e2a3d71cc724980a2068961 [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