Enable the interactive_calibration node to be accessed by non-owners, with SEPolicy restricting access to the diagnosticstool priv-app. Bug: 230050981 Change-Id: I7d2ec8e7aba2aa744a1198ba504db536f872e491 Signed-off-by: Steve Pfetsch <spfetsch@google.com>
27 lines
1.7 KiB
Plaintext
27 lines
1.7 KiB
Plaintext
on property:vendor.device.modules.ready=1
|
|
# Sysfs
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/force_active
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/fw_ver
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/interactive_calibrate
|
|
chmod 666 /sys/devices/virtual/goog_touch_interface/gti.1/interactive_calibrate
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/panel_id
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/offload_id
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ms_base
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ms_diff
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ms_raw
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/self_test
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ss_base
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ss_diff
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ss_raw
|
|
|
|
# Procfs
|
|
chown system system /proc/goog_touch_interface
|
|
chown system system /proc/goog_touch_interface/gti.1
|
|
chown system system /proc/goog_touch_interface/gti.1/dump
|
|
chown system system /proc/goog_touch_interface/gti.1/ms_base
|
|
chown system system /proc/goog_touch_interface/gti.1/ms_diff
|
|
chown system system /proc/goog_touch_interface/gti.1/ms_raw
|
|
chown system system /proc/goog_touch_interface/gti.1/ss_base
|
|
chown system system /proc/goog_touch_interface/gti.1/ss_diff
|
|
chown system system /proc/goog_touch_interface/gti.1/ss_raw
|