tri-state-key: Add support for system variants

* SDM845 family of OnePlus devices on LineageOS use a prebuilt vendor.

Change-Id: I0bbb1ac2d97e49fcc2aa5d78138ae97cf6b536b8
This commit is contained in:
Daniel Jacob Chittoor
2021-09-18 11:53:00 +02:00
committed by LuK1337
parent 7c8c176fd7
commit 60811b3df4
3 changed files with 29 additions and 6 deletions

View File

@@ -2,9 +2,9 @@ on fs
chown system system /sys/devices/platform/soc/soc:tri_state_key/hall_data_calib
chown system system /mnt/vendor/persist/engineermode/tri_state_hall_data
start vendor.tri-state-key_daemon
start tri-state-key_daemon
service vendor.tri-state-key_daemon /vendor/bin/tri-state-key_daemon
service tri-state-key_daemon /system_ext/bin/tri-state-key_daemon
class late_start
user system
group system uhid