[DO NOT MERGE] device/bluejay: Change to use common vibrator HAL

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

Bug: 198239103
Bug: 269762222
Test: Verified on device
Merged-In: Ic83c61df6297696c06e63a23241b308f92ac70bd
Change-Id: Ic83c61df6297696c06e63a23241b308f92ac70bd
This commit is contained in:
Tai Kuo 2023-02-20 13:16:25 +08:00
parent 3b882cdef8
commit 588ebb3a8f
27 changed files with 2 additions and 4945 deletions

View file

@ -38,10 +38,3 @@ on property:sys.boot_completed=1
on override-sf-uclamp
write /proc/vendor_sched/rt_uclamp_min 0
write /proc/vendor_sched/sf_uclamp_min 0
# 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