Ver código fonte

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 <[email protected]>
Change-Id: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae
Merged-In: Iab9f64d19bd1be6a162aef008c6f77bb48dd64ae
Chase Wu 2 anos atrás
pai
commit
cbc9240330
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      device-lynx.mk

+ 3 - 1
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