msm8226-common: sepolicy: Add charger policy

* This is a copy of sepolicy/common/healthd.te file
This commit is contained in:
RomanDesigner 2020-02-29 18:51:49 +03:00
parent d299af582b
commit b4bf3e8edd

View file

@ -0,0 +1,7 @@
allow charger device:dir r_dir_perms;
allow charger rtc_device:chr_file rw_file_perms;
allow charger sysfs:file { getattr open read };
userdebug_or_eng(`
permissive charger;
')