From 8972e9bf1b2a89620ea314604862e7dc84c903ca Mon Sep 17 00:00:00 2001 From: Chase Wu Date: Fri, 13 Jan 2023 18:00:59 +0800 Subject: [PATCH] vibrator: enable f0 and disable redc compensation Bug: 263339303 Test: check the value after device boot up Change-Id: Ie1f582802207415eb4530a766b18ca593e0cb3e9 --- device-akita.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/device-akita.mk b/device-akita.mk index 41f456a..5c55616 100644 --- a/device-akita.mk +++ b/device-akita.mk @@ -206,3 +206,9 @@ PRODUCT_VENDOR_PROPERTIES += \ # Disable camera DPM PRODUCT_PROPERTY_OVERRIDES += \ vendor.camera.debug.force_dpm_on=0 + +# Vibrator HAL +PRODUCT_VENDOR_PROPERTIES += \ + ro.vendor.vibrator.hal.supported_primitives=243 \ + ro.vendor.vibrator.hal.f0.comp.enabled=1 \ + ro.vendor.vibrator.hal.redc.comp.enabled=0 \