vibrator: Update property naming rule

Bug: 158802146
Test: manual check properies value
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I2a092f79ca8105dc175ba026561234ce553da933
This commit is contained in:
chasewu 2020-06-17 16:09:58 +08:00
parent a61b972515
commit 46d645318c
2 changed files with 10 additions and 10 deletions

View File

@ -142,15 +142,15 @@ PRODUCT_COPY_FILES += \
# Vibrator HAL
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vibrator.hal.config.dynamic=1 \
ro.vibrator.hal.click.duration=6 \
ro.vibrator.hal.tick.duration=6 \
ro.vibrator.hal.heavyclick.duration=6 \
ro.vibrator.hal.short.voltage=161 \
ro.vibrator.hal.long.voltage=161 \
ro.vibrator.hal.long.frequency.shift=10 \
ro.vibrator.hal.steady.shape=1 \
ro.vibrator.hal.lptrigger=0
ro.vendor.vibrator.hal.config.dynamic=1 \
ro.vendor.vibrator.hal.click.duration=6 \
ro.vendor.vibrator.hal.tick.duration=6 \
ro.vendor.vibrator.hal.heavyclick.duration=6 \
ro.vendor.vibrator.hal.short.voltage=161 \
ro.vendor.vibrator.hal.long.voltage=161 \
ro.vendor.vibrator.hal.long.frequency.shift=10 \
ro.vendor.vibrator.hal.steady.shape=1 \
ro.vendor.vibrator.hal.lptrigger=0
# Dumpstate HAL
PRODUCT_PACKAGES += \

View File

@ -3,7 +3,7 @@ service vendor.vibrator.redfin /vendor/bin/hw/android.hardware.vibrator-service.
user system
group system
setenv PROPERTY_PREFIX ro.vibrator.hal.
setenv PROPERTY_PREFIX ro.vendor.vibrator.hal.
setenv CALIBRATION_FILEPATH /mnt/vendor/persist/haptics/drv2624.cal
setenv HWAPI_PATH_PREFIX /sys/class/leds/vibrator/