From 0b0f586c3b09f6db6d9456592ad2edae5adf46fb Mon Sep 17 00:00:00 2001 From: Nathan Kulczak Date: Tue, 15 Aug 2023 01:22:27 +0000 Subject: [PATCH] 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 --- device-oriole.mk | 3 ++- device-raven.mk | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/device-oriole.mk b/device-oriole.mk index d9600ae..e397e77 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -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 diff --git a/device-raven.mk b/device-raven.mk index a84f5e6..5f3b419 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -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