diff options
author | Arne Coucheron <arco68@gmail.com> | 2018-08-22 00:10:18 +0200 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2019-09-28 00:23:56 +0200 |
commit | 2b9cc7f0829fcb990ca40f709dbf1004e442ca59 (patch) | |
tree | 0bee4d5a1282391d9c60f6e5eef40cba0dfae527 | |
parent | 3ba81f897bcae9b2038f44083a1284f9e6da0a2b (diff) | |
download | hardware_qcom_audio-2b9cc7f0829fcb990ca40f709dbf1004e442ca59.tar.gz hardware_qcom_audio-2b9cc7f0829fcb990ca40f709dbf1004e442ca59.tar.bz2 hardware_qcom_audio-2b9cc7f0829fcb990ca40f709dbf1004e442ca59.zip |
hal: Require feature flags to be explicitly enabled
As per common audiopolicymanager, all flags should
be opt-in now.
Change-Id: If64c656db25db38a9b01f94c1092ec1cf0c6138b
-rw-r--r-- | hal/Android.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hal/Android.mk b/hal/Android.mk index 656a9018..373426d3 100644 --- a/hal/Android.mk +++ b/hal/Android.mk @@ -51,11 +51,11 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_ANC_HEADSET)),true) LOCAL_CFLAGS += -DANC_HEADSET_ENABLED endif -ifneq ($(strip $(AUDIO_FEATURE_ENABLED_FLUENCE)),false) +ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FLUENCE)),true) LOCAL_CFLAGS += -DFLUENCE_ENABLED endif -ifneq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),false) +ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true) LOCAL_CFLAGS += -DAFE_PROXY_ENABLED endif @@ -87,12 +87,12 @@ endif ifeq ($(strip $(AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS)),true) LOCAL_CFLAGS += -DMULTI_VOICE_SESSION_ENABLED LOCAL_SRC_FILES += voice_extn/voice_extn.c -ifneq ($(strip $(AUDIO_FEATURE_ENABLED_INCALL_MUSIC)),false) - LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED -endif + ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INCALL_MUSIC)),true) + LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED + endif endif -ifneq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),false) +ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),true) LOCAL_CFLAGS += -DCOMPRESS_VOIP_ENABLED LOCAL_SRC_FILES += voice_extn/compress_voip.c endif |