davinci: rootdir: init.qcom.rc: Change user/group permission for for charger
Make charger binary run as system instead of root. Since it needs to handle input key events, add input as a supplemental group in addition to system and graphics. Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
This commit is contained in:
parent
ed256498c6
commit
a9303bcee9
@ -305,7 +305,8 @@ on property:ro.vendor.ril.mbn_copy_completed=1
|
|||||||
|
|
||||||
service charger /system/bin/charger
|
service charger /system/bin/charger
|
||||||
class charger
|
class charger
|
||||||
group system graphics
|
user system
|
||||||
|
group system graphics input
|
||||||
seclabel u:r:charger:s0
|
seclabel u:r:charger:s0
|
||||||
|
|
||||||
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf
|
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user