device/lynx: Change to use common vibrator HAL

Use common vibrator hal in hardware/google/pixel instead of
device/google/lynx.  This will use the common vibrator hal from now on
to support the adaptive haptics feature

Bug: 198239103
Test: Verified on device
Change-Id: I5d044a6ac6f87931e3b024948ed028c92c58f294
Signed-off-by: Chris Paulo <chrispaulo@google.com>
This commit is contained in:
Chris Paulo 2022-12-06 01:00:26 +00:00 committed by TreeHugger Robot
parent 688b2d0338
commit 3d6c47ad63
2 changed files with 1 additions and 8 deletions

View file

@ -110,13 +110,6 @@ on override-sf-uclamp
on property:ro.boot.hardware.sku=G82U8
setprop audio.camerasound.force true
# Route vibrator.adaptive_haptics.enabled to persist
on property:vibrator.adaptive_haptics.enabled=0
setprop persist.vendor.vibrator.hal.context.enable false
on property:vibrator.adaptive_haptics.enabled=1
setprop persist.vendor.vibrator.hal.context.enable true
# Haptics
on property:vendor.all.modules.ready=1
mkdir /mnt/vendor/persist/haptics 0770 system system

View file

@ -28,7 +28,7 @@ DEVICE_PACKAGE_OVERLAYS += device/google/lynx/lynx/overlay
include device/google/lynx/audio/lynx/audio-tables.mk
include device/google/gs201/device-shipping-common.mk
include device/google/lynx/vibrator/cs40l26/device.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/touch/gti/gti.mk
# go/lyric-soong-variables