From 28166a02955cc0fd5ed2bbf7837294dab510543b Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Fri, 19 Jul 2024 12:25:00 -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: I4b26ee5ccd31c976693a0a1eeed8a36e16e7111f --- device-tegu.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-tegu.mk b/device-tegu.mk index 1a754d7..59d3011 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -332,6 +332,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 + # Setup Wizard device-specific settings PRODUCT_PRODUCT_PROPERTIES += \ setupwizard.feature.enable_quick_start_flow=true