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:
committed by
LuK1337
parent
7c8c176fd7
commit
60811b3df4
10
tri-state-key/vendor.tri-state-key_daemon.rc
Normal file
10
tri-state-key/vendor.tri-state-key_daemon.rc
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
|
||||
service vendor.tri-state-key_daemon /vendor/bin/tri-state-key_daemon
|
||||
class late_start
|
||||
user system
|
||||
group system uhid
|
||||
Reference in New Issue
Block a user