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:
parent
e610027c1f
commit
84ba1fbeaa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue