vibrator: disable f0 and redc compensation

Since those feature was enabled in android T,
disabling these features as android S version.

Bug: 241353178
Test: check the value after device boot up
Test: update PtsHapticsTestCases and run it
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I1b363136147beff334fba0ca1e065729dcfb57e4
This commit is contained in:
Chase Wu 2022-09-12 20:34:33 +08:00
parent 719967bc08
commit c5244b60be

View file

@ -222,7 +222,9 @@ PRODUCT_SHIPPING_API_LEVEL := 32
# 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=0 \
ro.vendor.vibrator.hal.redc.comp.enabled=0
# Device features
PRODUCT_COPY_FILES += \