From 77b78a9857fff49fac16473d51ce9634cf091d11 Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Tue, 10 Jan 2023 01:39:35 +0000 Subject: [PATCH] vibrator: Add adaptive haptics config Add adaptive haptics config parameter to the build environment Bug: 198239103 Test: atest VibratorHalCs40l26TestSuite Change-Id: Id2a9e0d346c4722651f9d0a03e7c4f4aa5ac2861 Signed-off-by: Chris Paulo --- BoardConfig-common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 222b996c..ee73c094 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -251,8 +251,9 @@ endif # SoundTriggerHAL Configuration #BOARD_USE_SOUNDTRIGGER_HAL := false -# Vibrator HAL actuator model configuration +# Vibrator HAL actuator model and adaptive haptics configuration $(call soong_config_set,haptics,actuator_model,$(ACTUATOR_MODEL)) +$(call soong_config_set,haptics,adaptive_haptics_feature,$(ADAPTIVE_HAPTICS_FEATURE)) # HWComposer BOARD_HWC_VERSION := hwc3