diff --git a/non_plat/file.te b/non_plat/file.te index d181064..d942247 100644 --- a/non_plat/file.te +++ b/non_plat/file.te @@ -346,10 +346,10 @@ type debugfs_regmap, fs_type, debugfs_type; type sys_usb_rawbulk, fs_type, sysfs_type; # Backlight brightness file -type sysfs_vibrator_setting, fs_type, sysfs_type; +type sysfs_leds_setting, fs_type, sysfs_type; # Vibrator vibrate file -type sysfs_leds_setting, fs_type, sysfs_type; +type sysfs_vibrator_setting, fs_type, sysfs_type; # Date : 2019/04/09 # Purpose: mtk EM battery settings diff --git a/non_plat/mtk_hal_light.te b/non_plat/mtk_hal_light.te index 7a69812..de88326 100644 --- a/non_plat/mtk_hal_light.te +++ b/non_plat/mtk_hal_light.te @@ -14,7 +14,6 @@ binder_call(mtk_hal_light, system_server) # system file allow mtk_hal_light system_file:dir read; allow mtk_hal_light system_file:dir open; -allow mtk_hal_light sysfs:file rw_file_perms; allow mtk_hal_light sysfs_leds:lnk_file read; allow mtk_hal_light sysfs_leds:file rw_file_perms;