shusky/vibrator: Enable adaptive alert vibration
Enable the adaptive alert vibration feature for shusky devices. Bug: 284181186 Test: atest PtsVibratorHalTestSuite \ PtsHapticsTestCases \ VibratorHalCs40l26TestSuite \ VtsHalVibratorManagerTargetTest \ VtsHalVibratorTargetTest \ android.os.cts.VibratorTest \ android.os.cts.VibratorManagerTest \ android.os.cts.VibrationEffectTest \ android.os.cts.VibrationAttributesTest \ android.os.cts.CombinedVibrationTest Change-Id: I68d7e1d12e7ac64a0b529f26aa36a027984cfc73 Signed-off-by: Chris Paulo <chrispaulo@google.com>
This commit is contained in:
parent
9fb00d6bb4
commit
419e9ec104
2 changed files with 14 additions and 2 deletions
|
@ -304,10 +304,16 @@ PRODUCT_COPY_FILES += \
|
|||
|
||||
# Vibrator HAL
|
||||
ACTUATOR_MODEL := luxshare_ict_081545
|
||||
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.vibrator.hal.chirp.enabled=0 \
|
||||
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
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
|
|
|
@ -284,10 +284,16 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
|
|||
|
||||
# Vibrator HAL
|
||||
ACTUATOR_MODEL := luxshare_ict_081545
|
||||
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.vibrator.hal.chirp.enabled=0 \
|
||||
ro.vendor.vibrator.hal.device.mass=0.187 \
|
||||
ro.vendor.vibrator.hal.loc.coeff=2.75
|
||||
ro.vendor.vibrator.hal.loc.coeff=2.75 \
|
||||
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
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue