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
1 file changed
tree: ccde20c238256822957ee43bf0438f548bd06197
  1. fm_hci/
  2. fmapp2/
  3. helium/
  4. jni/
  5. qcom/
  6. .gitupstream