sanders: Add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can shutdown/reboot the system. Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7 Signed-off-by: Melvin <kartik3163@gmail.com>
This commit is contained in:
committed by
ronaxdevil
parent
3d5c0a7352
commit
fb76bf8143
@@ -490,6 +490,7 @@ on post-fs-data
|
||||
service charger /system/bin/charger
|
||||
class charger
|
||||
user system
|
||||
capabilities SYS_BOOT
|
||||
group system graphics input
|
||||
seclabel u:r:charger:s0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user