From 3d6c47ad639c0334ecdf71ac03651725732dd975 Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Tue, 6 Dec 2022 01:00:26 +0000 Subject: [PATCH] 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 --- conf/init.lynx.rc | 7 ------- device-lynx.mk | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index 2bdf3ab..97bf4d7 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -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 diff --git a/device-lynx.mk b/device-lynx.mk index 24f8e8c..6db2aa4 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -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