Init: start twoshay on boot.

Bug: 315239534
Test: twoshay launched successfully.
Change-Id: Ibff7dcfbdb736b87787aefe4ebc4a9a6b662f2fe
Signed-off-by: Henry Wang <wangzhenghong@google.com>
This commit is contained in:
Henry Wang 2024-04-15 15:04:02 +08:00
parent 5f88d2ee04
commit bd011f56cd

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