msm8976-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.
This commit is contained in:
Subbaraman Narayanamurthy 2020-03-06 21:26:45 +01:00 committed by ripee
parent e610027c1f
commit 84ba1fbeaa
1 changed files with 2 additions and 1 deletions

View File

@ -1423,7 +1423,8 @@ on property:ro.data.large_tcp_window_size=true
service charger /system/bin/charger
class charger
group system graphics
user system
group system graphics input
group log
seclabel u:r:charger:s0