Merge "Init: start twoshay on boot." into main

This commit is contained in:
Henry Wang 2024-04-24 07:31:56 +00:00 committed by Android (Google) Code Review
commit 5cf1e9c5f0

View file

@ -41,3 +41,9 @@ on early-boot && property:ro.boot.hardware.sku=GXQ96
write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S" write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=G3Y12 on early-boot && property:ro.boot.hardware.sku=G3Y12
write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S" write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
chown system input /dev/touch_offload
chmod 660 /dev/touch_offload
start twoshay