flo: rootdir: Change user/group permission 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 2019-07-30 13:29:22 -07:00 committed by followmsi
parent 49c24c24c3
commit cbd756cb05
1 changed files with 2 additions and 0 deletions

View File

@ -320,6 +320,8 @@ on property:ro.data.large_tcp_window_size=true
service charger /charger
class charger
user system
group system graphics input
critical
seclabel u:r:charger:s0