From 8f4740a44d2bfffdb009f9f21fe012a55a20c610 Mon Sep 17 00:00:00 2001 From: Nathan Kulczak Date: Tue, 15 Aug 2023 01:08:34 +0000 Subject: [PATCH] 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 --- device-cheetah.mk | 2 +- device-panther.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device-cheetah.mk b/device-cheetah.mk index e94d12e..14c76e2 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -348,7 +348,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Vibrator HAL ACTUATOR_MODEL := luxshare_ict_081545 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.loc.coeff=2.7 diff --git a/device-panther.mk b/device-panther.mk index 9989cb4..712c960 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -335,7 +335,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Vibrator HAL ACTUATOR_MODEL := luxshare_ict_081545 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.loc.coeff=2.65 # Keyboard bottom padding in dp for portrait mode and height ratio