gs101: set touch_offload device file permission
Bug: 173331163 Bug: 174189640 Bug: 174191163 Test: twoshay_touchflow + heatmap reflector APK works. Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: I02c3cf9fd4cd946e603f5cc5f614fa744660d0bc
This commit is contained in:
parent
ad661aed61
commit
b6b9bdaa0f
1 changed files with 3 additions and 0 deletions
|
@ -534,6 +534,9 @@ on property:vendor.device.modules.ready=1
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd
|
chown system system /sys/devices/virtual/sec/tsp/cmd
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd_result
|
chown system system /sys/devices/virtual/sec/tsp/cmd_result
|
||||||
chown system system /sys/devices/virtual/sec/tsp/status
|
chown system system /sys/devices/virtual/sec/tsp/status
|
||||||
|
# Allow access to touch
|
||||||
|
chown system input /dev/touch_offload
|
||||||
|
chmod 660 /dev/touch_offload
|
||||||
|
|
||||||
# Route touch_sensitivity_mode to persist
|
# Route touch_sensitivity_mode to persist
|
||||||
on property:debug.touch_sensitivity_mode=0
|
on property:debug.touch_sensitivity_mode=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue