From cbc9240330518356b85ebc3cbba05085a6d14cb5 Mon Sep 17 00:00:00 2001 From: Chase Wu Date: Tue, 13 Sep 2022 21:20:32 +0800 Subject: [PATCH] vibrator: enable f0 and disable redc compensation Bug: 241353178 Test: check the value after device boot up Test: update PtsHapticsTestCases and run it Signed-off-by: Chase Wu Change-Id: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae Merged-In: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae --- device-lynx.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/device-lynx.mk b/device-lynx.mk index 425fa05..5c46ad7 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -147,7 +147,9 @@ endif # Vibrator HAL PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.vibrator.hal.supported_primitives=243 + ro.vendor.vibrator.hal.supported_primitives=243 \ + ro.vendor.vibrator.hal.f0.comp.enabled=1 \ + ro.vendor.vibrator.hal.redc.comp.enabled=0 # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts