mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: sepolicy: Add charger policy
* This is a copy of sepolicy/common/healthd.te file
This commit is contained in:
parent
5756d067a1
commit
adf16e831a
1 changed files with 7 additions and 0 deletions
7
sepolicy/common/charger.te
Normal file
7
sepolicy/common/charger.te
Normal 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;
|
||||
')
|
Loading…
Reference in a new issue