init: modify touch offload permission for twoshay
Move setup to boot_completed for fixing the issue that the device node might not be exist at vendor.device.modules.ready. Bug: 273163806 Test: twoshay launched successfully. Change-Id: I01d09d0c651631dbdbb6dabf9e45872de7580fc2 Signed-off-by: Wendly Li <wendlyli@google.com>
This commit is contained in:
parent
65f48864fd
commit
2a22fae74a
3 changed files with 6 additions and 0 deletions
|
@ -58,4 +58,6 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
|
||||||
|
|
||||||
# Start the twoshay touch service
|
# Start the twoshay touch service
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
|
chown system input /dev/touch_offload
|
||||||
|
chmod 660 /dev/touch_offload
|
||||||
start twoshay
|
start twoshay
|
||||||
|
|
|
@ -62,4 +62,6 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
|
||||||
|
|
||||||
# Start the twoshay touch service
|
# Start the twoshay touch service
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
|
chown system input /dev/touch_offload
|
||||||
|
chmod 660 /dev/touch_offload
|
||||||
start twoshay
|
start twoshay
|
||||||
|
|
|
@ -58,4 +58,6 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
|
||||||
|
|
||||||
# Start the twoshay touch service
|
# Start the twoshay touch service
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
|
chown system input /dev/touch_offload
|
||||||
|
chmod 660 /dev/touch_offload
|
||||||
start twoshay
|
start twoshay
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue