From 1190b97d4623c17f0f737255ba0d36a8754f087c Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Wed, 24 Jun 2020 22:09:52 -0400 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index c897584..0926256 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -113,6 +113,7 @@ service charger /system/bin/charger class charger user system group system graphics input + capabilities SYS_BOOT seclabel u:r:charger:s0 service cvphalservice /system/bin/true