msm8226-common: 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:
Subbaraman Narayanamurthy 2020-01-24 20:35:31 +02:00 committed by RomanDesigner
parent a21254abcd
commit 87b6b7223e
No known key found for this signature in database
GPG key ID: 3D58447600ECB3AA

View file

@ -577,7 +577,8 @@ service adsprpcd /vendor/bin/adsprpcd
service charger /system/bin/charger
class charger
group system graphics
user system
group system graphics input
seclabel u:r:charger:s0
service ds_fmc_appd /vendor/bin/ds_fmc_appd -p "rmnet0" -D