pantah/vibrator: Enable adaptive alert vibration
Enable the adaptive alert vibration feature for pantah 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: Iba6cbd84b4d305e5f88c6902fc107fd5be5e8436 Signed-off-by: Chris Paulo <chrispaulo@google.com>
This commit is contained in:
parent
d952a9de04
commit
5f714acaf1
2 changed files with 15 additions and 2 deletions
|
@ -344,10 +344,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=0 \
|
ro.vendor.vibrator.hal.chirp.enabled=0 \
|
||||||
ro.vendor.vibrator.hal.device.mass=0.214 \
|
ro.vendor.vibrator.hal.device.mass=0.214 \
|
||||||
ro.vendor.vibrator.hal.loc.coeff=2.7
|
ro.vendor.vibrator.hal.loc.coeff=2.7 \
|
||||||
|
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
|
||||||
|
|
||||||
# Keyboard bottom and side padding in dp for portrait mode and height ratio
|
# Keyboard bottom and side padding in dp for portrait mode and height ratio
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
|
|
@ -331,10 +331,17 @@ 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=0 \
|
ro.vendor.vibrator.hal.chirp.enabled=0 \
|
||||||
ro.vendor.vibrator.hal.device.mass=0.195 \
|
ro.vendor.vibrator.hal.device.mass=0.195 \
|
||||||
ro.vendor.vibrator.hal.loc.coeff=2.65
|
ro.vendor.vibrator.hal.loc.coeff=2.65 \
|
||||||
|
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
|
||||||
|
|
||||||
# Keyboard bottom padding in dp for portrait mode and height ratio
|
# Keyboard bottom padding in dp for portrait mode and height ratio
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
ro.com.google.ime.kb_pad_port_b=8 \
|
ro.com.google.ime.kb_pad_port_b=8 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue