diff options
author | Chase Wu <chasewu@google.com> | 2022-06-23 20:32:44 +0800 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-08-01 12:16:16 +0000 |
commit | 11403b25c98810a2d07a6fc6f51206ce6dc95181 (patch) | |
tree | ee83bee0173dff7434767b130194268fc21faabe | |
parent | b67b41dd1d82e2bb9812c71a6f4db3a9b89fe7b9 (diff) | |
download | gs201-11403b25c98810a2d07a6fc6f51206ce6dc95181.tar.gz |
add haptics actuator model config
Actuator models can vary across devices. Actuator models can have
different characteristics that need to be handled appropriately. Add
support to define the actuator model used in Soong makefiles.
Bug: 236202962
Test: verified that different actuator model configs are used on
different targets
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I4b4c5e26c52f410ec36f9b8959e8fadd2ea19b0f
-rw-r--r-- | BoardConfig-common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 9f8e519..de2f8ac 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -252,6 +252,9 @@ endif # SoundTriggerHAL Configuration #BOARD_USE_SOUNDTRIGGER_HAL := false +# Vibrator HAL actuator model configuration +$(call soong_config_set,haptics,actuator_model,$(ACTUATOR_MODEL)) + # HWComposer BOARD_HWC_VERSION := hwc3 TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := false |