From f080086bd2403aba4d7fd2f1432780e24085483c Mon Sep 17 00:00:00 2001 From: Ravi Jain Date: Mon, 13 May 2024 08:42:34 +0000 Subject: [PATCH] Vibrator: Set Soong Config variable - kernel_ver Bug: 340148508 Test: Build and check fw files in all devices. Change-Id: Ic0e1a84d606f2cb86d498b2508babd126a11eda0 --- device-husky.mk | 1 + device-ripcurrent.mk | 1 + device-shiba.mk | 1 + 3 files changed, 3 insertions(+) diff --git a/device-husky.mk b/device-husky.mk index 0cf8269..7115839 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -365,6 +365,7 @@ PRODUCT_COPY_FILES += \ device/google/shusky/husky/panel_config_google-hk3_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-hk3_cal0.pb # Vibrator HAL +$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION))) ACTUATOR_MODEL := luxshare_ict_081545 ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1 PRODUCT_VENDOR_PROPERTIES += \ diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index ffbceb7..a399216 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -265,6 +265,7 @@ PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.camera.front_720P_always_binning=true # Vibrator HAL +$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION))) ACTUATOR_MODEL := luxshare_ict_081545 PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.vibrator.hal.chirp.enabled=0 \ diff --git a/device-shiba.mk b/device-shiba.mk index 72b9902..9ee212d 100644 --- a/device-shiba.mk +++ b/device-shiba.mk @@ -341,6 +341,7 @@ PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=34 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 # Vibrator HAL +$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION))) ACTUATOR_MODEL := luxshare_ict_081545 ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1 PRODUCT_VENDOR_PROPERTIES += \