sm6150-common: Set permissions on /dev/xiaomi-touch
Change-Id: I94f9b64f983098b6497ffcdee9817c72d471528f
This commit is contained in:
parent
18ee1a3486
commit
a73e27936f
@ -86,6 +86,10 @@ on boot
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode
|
||||
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/doze_status
|
||||
|
||||
# Set xiaomi touch permissions
|
||||
chown system system /dev/xiaomi-touch
|
||||
chmod 0660 /dev/xiaomi-touch
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Set allocstall_threshold to 0
|
||||
# Set swappiness to 100
|
||||
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@ -5,6 +5,7 @@
|
||||
/mnt/vendor/persist/camera(/.*)? u:object_r:camera_persist_file:s0
|
||||
|
||||
# Display
|
||||
/dev/xiaomi-touch u:object_r:touchfeature_device:s0
|
||||
/sys/devices/platform/soc/[a-f0-9]+.qcom,mdss_mdp/drm/card([0-3])+/card([0-3])+-DSI-1/panel_info u:object_r:vendor_sysfs_graphics:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable u:object_r:sysfs_anti_flicker:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display/hbm u:object_r:sysfs_hbm:s0
|
||||
|
1
sepolicy/vendor/touchfeature.te
vendored
Normal file
1
sepolicy/vendor/touchfeature.te
vendored
Normal file
@ -0,0 +1 @@
|
||||
type touchfeature_device, dev_type;
|
Loading…
Reference in New Issue
Block a user