vibrator: Enable Adaptive Haptics

Enable adaptive haptics for these devices.

Bug: 284181186
Test: atest SettingsGoogleRoboTests:com.google.android.settings.accessibility.AdaptiveHapticsTogglePreferenceControllerTest
Change-Id: Ib29e4785d94ba0e03d54830112b5367061655dba
Signed-off-by: Chris Paulo <chrispaulo@google.com>
This commit is contained in:
Chris Paulo 2023-09-12 17:09:53 -07:00
parent 52a1f746e6
commit ae23645b9a
3 changed files with 21 additions and 3 deletions

View file

@ -233,10 +233,16 @@ PRODUCT_VENDOR_PROPERTIES += \
# Vibrator HAL
ACTUATOR_MODEL := luxshare_ict_081545
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.chirp.enabled=1 \
ro.vendor.vibrator.hal.device.mass=0.222 \
ro.vendor.vibrator.hal.loc.coeff=2.8
ro.vendor.vibrator.hal.loc.coeff=2.8 \
persist.vendor.vibrator.hal.context.enable=false \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \