sdm710-common: 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: SamarV-121 <samarv121@pixelexperience.org>
This commit is contained in:
parent
e0d6fd2533
commit
1190b97d46
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ service charger /system/bin/charger
|
||||||
class charger
|
class charger
|
||||||
user system
|
user system
|
||||||
group system graphics input
|
group system graphics input
|
||||||
|
capabilities SYS_BOOT
|
||||||
seclabel u:r:charger:s0
|
seclabel u:r:charger:s0
|
||||||
|
|
||||||
service cvphalservice /system/bin/true
|
service cvphalservice /system/bin/true
|
||||||
|
|
Loading…
Reference in a new issue