msm8937-common: Move qcamerasvr to main and restart on service restarts
* Move qcamerasvr to main to it restarts on decryption * Also trigger a qcamerasvr restart when media or all services restart, since it needs to be properly restarted with cameraservice
This commit is contained in:
parent
64948b0418
commit
21cff78bb0
2 changed files with 7 additions and 1 deletions
|
@ -403,3 +403,9 @@ service time_daemon /vendor/bin/time_daemon
|
|||
class main
|
||||
user root
|
||||
group root
|
||||
|
||||
on property:init.svc.media=restarting
|
||||
restart qcamerasvr
|
||||
|
||||
on property:init.svc.servicemanager=restarting
|
||||
restart qcamerasvr
|
||||
|
|
|
@ -50,7 +50,7 @@ on post-fs-data
|
|||
|
||||
# Start camera server as daemon
|
||||
service qcamerasvr /vendor/bin/mm-qcamera-daemon
|
||||
class late_start
|
||||
class main
|
||||
user camera
|
||||
group camera system inet input graphics
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
|
|
Loading…
Reference in a new issue