haptics: Update output distortion gain
Recommended output distortion gain is 0.38.
Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: I51f9e95726ed03a5605594130debbf4a628f28f6
diff --git a/device-cheetah.mk b/device-cheetah.mk
index 71cc1e0..3ffe2aa 100644
--- a/device-cheetah.mk
+++ b/device-cheetah.mk
@@ -388,6 +388,10 @@
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.38
+
# Keyboard bottom and side padding in dp for portrait mode and height ratio
PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.ime.kb_pad_port_b=8 \
diff --git a/device-panther.mk b/device-panther.mk
index 4b4a544..1b04d16 100644
--- a/device-panther.mk
+++ b/device-panther.mk
@@ -373,6 +373,10 @@
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.38
+
# Keyboard bottom padding in dp for portrait mode and height ratio
PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.ime.kb_pad_port_b=8 \