shusky/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: I7c0cd3604ba22a82fc1431d3b914994a270e9267
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
This commit is contained in:
Nathan Kulczak 2023-08-15 01:16:01 +00:00
parent 2b3ba63bb3
commit cb71305d23
3 changed files with 3 additions and 3 deletions

View file

@ -333,7 +333,7 @@ PRODUCT_COPY_FILES += \
# 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.222 \ ro.vendor.vibrator.hal.device.mass=0.222 \
ro.vendor.vibrator.hal.loc.coeff=2.8 ro.vendor.vibrator.hal.loc.coeff=2.8

View file

@ -247,7 +247,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.222 \ ro.vendor.vibrator.hal.device.mass=0.222 \
ro.vendor.vibrator.hal.loc.coeff=2.8 ro.vendor.vibrator.hal.loc.coeff=2.8

View file

@ -314,7 +314,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
# 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.187 \ ro.vendor.vibrator.hal.device.mass=0.187 \
ro.vendor.vibrator.hal.loc.coeff=2.75 ro.vendor.vibrator.hal.loc.coeff=2.75