klte-common: address healthd denial

* Fixes offmode charging

Change-Id: I79e6ef01ba02bd780a80c7134d7cdbd499461e0c
This commit is contained in:
OzzysCmAcc 2015-12-25 10:23:25 +01:00 committed by Matt Filetto
parent 3300f99fc6
commit 279607a2ca
2 changed files with 3 additions and 0 deletions

View File

@ -1153,6 +1153,7 @@ on property:sys.boot_completed=1
service charger /charger
class charger
seclabel u:r:healthd:s0
service sec-sh /system/bin/sh /system/etc/init.sec.boot.sh
class main

2
sepolicy/healthd.te Normal file
View File

@ -0,0 +1,2 @@
allow healthd device:dir r_dir_perms;
allow healthd rtc_device:chr_file rw_file_perms;