[ALPS04761108] Backlight: remove the unused sepolicy

[Detail]
Remove the unused sepolicy, which has high risk

MTK-Commit-Id: 93b6fa2d6408dc551867fb24b260b053a9b746a7

Change-Id: Id8ddccde37e766c59b1d258d17db2759da6a3ef9
CR-Id: ALPS04761108
Feature: [Android Default] Backlight
This commit is contained in:
mtk14723 2020-01-18 10:19:50 +08:00 committed by Ning Cui
parent 6d71aabb69
commit dc117a90e7
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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;