Browse Source

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 <[email protected]>
Chris Paulo 2 years ago
parent
commit
3d6c47ad63
2 changed files with 1 additions and 8 deletions
  1. 0 7
      conf/init.lynx.rc
  2. 1 1
      device-lynx.mk

+ 0 - 7
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

+ 1 - 1
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