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:
Rashed Abdel-Tawab 2018-06-24 20:34:42 -07:00 committed by Isaac Chen
parent 64948b0418
commit 21cff78bb0
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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