diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2020-04-22 05:05:04 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-23 18:38:52 +0300 |
commit | e33227ed63c6b8e7df0b638f556bf14fa99acd83 (patch) | |
tree | 49ae9c31f7ef85cb6b3e2a902cb45ca2c93d84c6 /FM_Const.h | |
parent | 01148c200280ff3d320751d5e8298ac7de8f90d7 (diff) | |
download | android_vendor_qcom_opensource_libfmjni-lineage-17.1.tar.gz android_vendor_qcom_opensource_libfmjni-lineage-17.1.tar.bz2 android_vendor_qcom_opensource_libfmjni-lineage-17.1.zip |
libfmjni: Resolve property isolation issuesHEADlineage-17.1
* Set system instead of vendor properties for FM init
on devices that don't use firmware download.
* Shut the radio down properly while we are at it.
Change-Id: I8f77a4f822ec8c609fe3526d7e96ea19d46cb1f8
Diffstat (limited to 'FM_Const.h')
-rw-r--r-- | FM_Const.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -117,7 +117,11 @@ typedef unsigned long ULINT; //STRING LITERALS const char *const FM_MODE_PROP = "vendor.hw.fm.mode"; const char *const FM_VERSION_PROP = "vendor.hw.fm.version"; +#ifndef QCOM_NO_FM_FIRMWARE const char *const FM_INIT_PROP = "vendor.hw.fm.init"; +#else +const char *const FM_INIT_PROP = "hw.fm.init"; +#endif const char *const FM_INTERNAL_ANTENNA_PROP = "vendor.hw.fm.internal_antenna"; const char *const SCRIPT_START_PROP = "ctl.start"; const char *const SCRIPT_STOP_PROP = "ctl.stop"; |