From 0302209e61d8e4c43a26cb853c017f2a7e7343ca Mon Sep 17 00:00:00 2001 From: Nathan Kulczak Date: Thu, 27 Apr 2023 20:32:41 +0000 Subject: [PATCH] [DO NOT MERGE] vibrator: Disable PWLE capability for U Set chirp.enabled=0 so that CAP_FREQUENCY_CONTROL and CAP_COMPOSE_PWLE_EFFECTS will not be enabled. Bug: 275032416 Test: adb shell idlcli vibrator getCapabilities Change-Id: I7371f896126fdc876c43d60718baffba59aa32a1 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 93952fc..997f061 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -340,7 +340,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Vibrator HAL ACTUATOR_MODEL := luxshare_ict_081545 PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.vibrator.hal.chirp.enabled=1 \ + ro.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 0c25c51..20363ad 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -326,7 +326,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Vibrator HAL ACTUATOR_MODEL := luxshare_ict_081545 PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.vibrator.hal.chirp.enabled=1 \ + ro.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