From ed80b9345a9aee1ab846f4f6b599dd57e111c47d Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Fri, 19 Jul 2024 12:33:37 -0700 Subject: [PATCH] haptics: Update output distortion gain Recommended output distortion gain is 0.29. Bug: 328799172 Test: getprop | grep hapticgenerator Flag: EXEMPT bugfix Change-Id: I784c7933e63fce0dfe84ab76400e913e5b0567e1 --- device-lynx.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-lynx.mk b/device-lynx.mk index eeb3fbd..423ce66 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -170,6 +170,10 @@ PRODUCT_VENDOR_PROPERTIES += \ persist.vendor.vibrator.hal.context.cooldowntime=1600 \ persist.vendor.vibrator.hal.context.settlingtime=5000 +# Override Output Distortion Gain +PRODUCT_VENDOR_PROPERTIES += \ + vendor.audio.hapticgenerator.distortion.output.gain=0.29 + # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts