From 15b00fc5f2394a025f8d19b1ce176eef2c80172b Mon Sep 17 00:00:00 2001 From: Ravi Jain Date: Mon, 13 May 2024 08:42:17 +0000 Subject: [PATCH] Vibrator: Set Soong Config variable - kernel_ver Bug: 340148508 Test: Build and check fw files in all devices. Change-Id: I64e5a50302920d63f358946a8ea840df3e1da98b --- device-lynx.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device-lynx.mk b/device-lynx.mk index 975d5a7..75d7787 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -158,6 +158,7 @@ $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factor endif # Vibrator HAL +$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION))) ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1 PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.vibrator.hal.supported_primitives=243 \