raviole/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: Ia26077bf854c51c40c707787d2476cf8620bb420
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
This commit is contained in:
Nathan Kulczak 2023-08-15 01:22:27 +00:00
parent 0175ac0c97
commit 0b0f586c3b
2 changed files with 4 additions and 2 deletions

View file

@ -162,7 +162,8 @@ DEVICE_MANIFEST_FILE += \
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=15 \
ro.vendor.vibrator.hal.device.mass=0.205 \
ro.vendor.vibrator.hal.loc.coeff=2.25
ro.vendor.vibrator.hal.loc.coeff=2.25 \
persist.vendor.vibrator.hal.chirp.enabled=0
ACTUATOR_MODEL := luxshare_ict_081545

View file

@ -176,7 +176,8 @@ DEVICE_MANIFEST_FILE += \
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=15 \
ro.vendor.vibrator.hal.device.mass=0.21 \
ro.vendor.vibrator.hal.loc.coeff=2.5
ro.vendor.vibrator.hal.loc.coeff=2.5 \
persist.vendor.vibrator.hal.chirp.enabled=0
ACTUATOR_MODEL := luxshare_ict_081545