From d4b713a196af5c42298cd941e95a9e4c05ecc36a Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Mon, 5 Dec 2022 21:58:50 +0000 Subject: [PATCH] device/bluejay: Add adaptive haptics props Add default adaptive haptics props for bluejay. Bug: 198239103 Test: Verified functionality Change-Id: I43a0dc0a84d682d8f71ae4ebac14cc123bd60ec4 Signed-off-by: Chris Paulo --- device-bluejay.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/device-bluejay.mk b/device-bluejay.mk index d040cd4..7203de7 100644 --- a/device-bluejay.mk +++ b/device-bluejay.mk @@ -221,10 +221,16 @@ endif PRODUCT_SHIPPING_API_LEVEL := 32 # Vibrator HAL +ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1 PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.vibrator.hal.supported_primitives=243 \ ro.vendor.vibrator.hal.f0.comp.enabled=0 \ - ro.vendor.vibrator.hal.redc.comp.enabled=0 + ro.vendor.vibrator.hal.redc.comp.enabled=0 \ + persist.vendor.vibrator.hal.context.enable=false \ + persist.vendor.vibrator.hal.context.scale=40 \ + persist.vendor.vibrator.hal.context.fade=true \ + persist.vendor.vibrator.hal.context.cooldowntime=1600 \ + persist.vendor.vibrator.hal.context.settlingtime=5000 # Device features PRODUCT_COPY_FILES += \