sm7250-common: Add support for smart charging and battery health
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This commit is contained in:
7
sepolicy/vendor/system_app.te
vendored
7
sepolicy/vendor/system_app.te
vendored
@@ -2,6 +2,7 @@ allow system_app sysfs_zram:dir search;
|
||||
allow system_app proc_pagetypeinfo:file read;
|
||||
allow system_app sysfs_dm:file rw_file_perms;
|
||||
allow system_app sysfs_vibrator:file rw_file_perms;
|
||||
|
||||
allow system_app sysfs_vibrator:dir r_dir_perms;
|
||||
allow system_app sysfs_leds:dir search;
|
||||
|
||||
@@ -9,3 +10,9 @@ allow system_app proc_pagetypeinfo:file r_file_perms;
|
||||
|
||||
allow system_app sysfs_zram:dir search;
|
||||
allow system_app sysfs_zram:file r_file_perms;
|
||||
|
||||
allow system_app sysfs:file { getattr };
|
||||
|
||||
allow system_app vendor_sysfs_battery_supply:dir search;
|
||||
allow system_app vendor_sysfs_battery_supply:file r_file_perms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user