device/vibrator: Add contextual haptics feature am: 0db068b63c am: 6f3f6dc2b0

Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20360548

Change-Id: I17148d10824de1507043308ba9b63dcb77b77678
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Chris Paulo
2022-11-16 21:20:52 +00:00
committed by Automerger Merge Worker
18 changed files with 730 additions and 56 deletions

View File

@@ -110,3 +110,10 @@ on override-sf-uclamp
# it should be written by the system init.
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