pantah/vibrator: Disable PWLE by default

Set chirp.enabled prop to 0 by default so that it will not cause tests
to fail.
Change prop to persist from ro so that it can be enabled for testing.

Bug: 286921585
Test: Tried using idlcli composePwle before/after setting prop
Change-Id: Ia0f13d5ebda16dae260a606d0b7c98b6e5e64a5d
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
This commit is contained in:
Nathan Kulczak 2023-08-15 01:08:34 +00:00
parent baafe13840
commit 8f4740a44d
2 changed files with 2 additions and 2 deletions

View file

@ -348,7 +348,7 @@ PRODUCT_VENDOR_PROPERTIES += \
# Vibrator HAL # Vibrator HAL
ACTUATOR_MODEL := luxshare_ict_081545 ACTUATOR_MODEL := luxshare_ict_081545
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.chirp.enabled=1 \ persist.vendor.vibrator.hal.chirp.enabled=0 \
ro.vendor.vibrator.hal.device.mass=0.214 \ ro.vendor.vibrator.hal.device.mass=0.214 \
ro.vendor.vibrator.hal.loc.coeff=2.7 ro.vendor.vibrator.hal.loc.coeff=2.7

View file

@ -335,7 +335,7 @@ PRODUCT_VENDOR_PROPERTIES += \
# Vibrator HAL # Vibrator HAL
ACTUATOR_MODEL := luxshare_ict_081545 ACTUATOR_MODEL := luxshare_ict_081545
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.chirp.enabled=1 \ persist.vendor.vibrator.hal.chirp.enabled=0 \
ro.vendor.vibrator.hal.device.mass=0.195 \ ro.vendor.vibrator.hal.device.mass=0.195 \
ro.vendor.vibrator.hal.loc.coeff=2.65 ro.vendor.vibrator.hal.loc.coeff=2.65
# Keyboard bottom padding in dp for portrait mode and height ratio # Keyboard bottom padding in dp for portrait mode and height ratio