sdm660: sepolicy: Adjust sepolicy for new tap to wake nodes
This commit is contained in:
parent
46306f40a3
commit
a502a3904b
2 changed files with 4 additions and 0 deletions
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
|
@ -69,6 +69,8 @@
|
||||||
/proc/touchscreen/enable_dt2w u:object_r:sysfs_tap_to_wake:s0
|
/proc/touchscreen/enable_dt2w u:object_r:sysfs_tap_to_wake:s0
|
||||||
/sys/devices/soc/c175000\.i2c/i2c-1/1-[0-9a-f]+/input/input[0-9]+/wake_gesture u:object_r:sysfs_tap_to_wake:s0
|
/sys/devices/soc/c175000\.i2c/i2c-1/1-[0-9a-f]+/input/input[0-9]+/wake_gesture u:object_r:sysfs_tap_to_wake:s0
|
||||||
/proc/tp_gesture u:object_r:sysfs_tap_to_wake:s0
|
/proc/tp_gesture u:object_r:sysfs_tap_to_wake:s0
|
||||||
|
/sys/touchpanel/double_tap u:object_r:sysfs_tap_to_wake:s0
|
||||||
|
/proc/touchpanel/wake_gesture u:object_r:sysfs_tap_to_wake:s0
|
||||||
|
|
||||||
# Thermal
|
# Thermal
|
||||||
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0
|
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0
|
||||||
|
|
2
sepolicy/vendor/hal_power_default.te
vendored
2
sepolicy/vendor/hal_power_default.te
vendored
|
@ -1,4 +1,6 @@
|
||||||
allow hal_power_default sysfs_touchpanel:file rw_file_perms;
|
allow hal_power_default sysfs_touchpanel:file rw_file_perms;
|
||||||
|
allow hal_power_default sysfs_touchpanel:dir search;
|
||||||
|
|
||||||
allow hal_power_default proc_dt2w:file rw_file_perms;
|
allow hal_power_default proc_dt2w:file rw_file_perms;
|
||||||
allow hal_power_default sysfs_tap_to_wake:file rw_file_perms;
|
allow hal_power_default sysfs_tap_to_wake:file rw_file_perms;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue