summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2018-06-24 04:15:24 +0000
committerArian <arian.kulmer@web.de>2019-10-25 22:16:14 +0200
commit2a4b34095f901398c3d3f586376e12cfc78239e7 (patch)
tree92cf9476aac66a05cc1a521c03e5e760fa07186c /rootdir
parent7d9b2d5312b6e9b1c3a10cabb0452222d6ac3857 (diff)
shinano-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 Change-Id: I2361c5658359ed9f2fe937a0bd3329ca9c00e66e
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.camera.rc10
1 files changed, 7 insertions, 3 deletions
diff --git a/rootdir/etc/init.camera.rc b/rootdir/etc/init.camera.rc
index 11f0073..24a01a8 100644
--- a/rootdir/etc/init.camera.rc
+++ b/rootdir/etc/init.camera.rc
@@ -126,12 +126,16 @@ service wvkbd_installer /vendor/bin/wvkbd
on property:sys.listeners.registered=true
start wvkbd_installer
-#service qcamerasvr /system/bin/logwrapper /system/bin/mm-qcamera-daemon
service qcamerasvr /vendor/bin/mm-qcamera-daemon
- class late_start
+ class main
user camera
group camera media system inet input graphics
-# seclabel u:r:mm-qcamerad:s0
+
+on property:init.svc.media=restarting
+ restart qcamerasvr
+
+on property:init.svc.servicemanager=restarting
+ restart qcamerasvr
# SONY: TrimArea Daemon
# Last 2 args: start block(blk size 128k), number of blocks(partitionsize(kb)/128(kb))