vibrator: Initialize sysprops for vibrator
Add sysprops for vibrator hal to allow chirps. These props will need to be updated with final values based on the actuator location and device mass. Bug: 312375018 Test: verified on device Change-Id: Ibab38c0713c1ce39081f540f12fd6e056090ffad Signed-off-by: Chris Paulo <chrispaulo@google.com>
This commit is contained in:
parent
a66b47f5ee
commit
23f5ee52b1
1 changed files with 14 additions and 0 deletions
|
@ -229,6 +229,20 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
persist.vendor.camera.ois_with_system_imu=true
|
persist.vendor.camera.ois_with_system_imu=true
|
||||||
|
|
||||||
|
# Haptics
|
||||||
|
# Placeholders for updates later, need to update:
|
||||||
|
# edit device.mass
|
||||||
|
# edit loc.coeff
|
||||||
|
# remove dbc.enable
|
||||||
|
# remove pm.activetimeout
|
||||||
|
ACTUATOR_MODEL := luxshare_ict_081545
|
||||||
|
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.dbc.enable=1 \
|
||||||
|
ro.vendor.vibrator.hal.pm.activetimeout=5
|
||||||
|
|
||||||
# Hinge angle sensor
|
# Hinge angle sensor
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml
|
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue