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:
parent
52a1f746e6
commit
ae23645b9a
3 changed files with 21 additions and 3 deletions
|
@ -242,10 +242,16 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.preferred_mode=960x2142@120
|
||||||
|
|
||||||
# Vibrator HAL
|
# Vibrator HAL
|
||||||
ACTUATOR_MODEL := luxshare_ict_081545
|
ACTUATOR_MODEL := luxshare_ict_081545
|
||||||
|
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.vibrator.hal.chirp.enabled=1 \
|
ro.vendor.vibrator.hal.chirp.enabled=1 \
|
||||||
ro.vendor.vibrator.hal.device.mass=0.222 \
|
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
|
# PKVM Memory Reclaim
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
|
|
@ -242,10 +242,16 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
|
||||||
# Vibrator HAL
|
# Vibrator HAL
|
||||||
ACTUATOR_MODEL := luxshare_ict_081545
|
ACTUATOR_MODEL := luxshare_ict_081545
|
||||||
|
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.vibrator.hal.chirp.enabled=1 \
|
ro.vendor.vibrator.hal.chirp.enabled=1 \
|
||||||
ro.vendor.vibrator.hal.device.mass=0.222 \
|
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
|
# PKVM Memory Reclaim
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
|
|
@ -233,10 +233,16 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
|
||||||
# Vibrator HAL
|
# Vibrator HAL
|
||||||
ACTUATOR_MODEL := luxshare_ict_081545
|
ACTUATOR_MODEL := luxshare_ict_081545
|
||||||
|
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.vendor.vibrator.hal.chirp.enabled=1 \
|
ro.vendor.vibrator.hal.chirp.enabled=1 \
|
||||||
ro.vendor.vibrator.hal.device.mass=0.222 \
|
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
|
# PKVM Memory Reclaim
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue