1
0
mirror of https://github.com/yurisieucuti/treble_evolution.git synced 2024-12-05 01:37:02 +00:00
2024-03-10 06:48:11 +00:00

16 lines
561 B
Plaintext

# Allow charger to write to sysfs_backlight_attr (only for huawei)
attribute sysfs_backlight_attr;
allow charger sysfs_backlight_attr:file rw_file_perms;
# Allow charger to write to sysfs_led_attr (only for huawei)
# attribute sysfs_led_attr;
# allow charger sysfs_led_attr:file rw_file_perms;
# Allow charger to read and write to sysfs_power
allow charger sysfs_power:file rw_file_perms;
allow charger sysfs_power:dir r_dir_perms;
allow charger sysfs_power:lnk_file read;
# The system charger can write powerctl properties
set_prop(charger, powerctl_prop)