From 2a4b34095f901398c3d3f586376e12cfc78239e7 Mon Sep 17 00:00:00 2001 From: Rashed Abdel-Tawab Date: Sun, 24 Jun 2018 04:15:24 +0000 Subject: 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 --- rootdir/etc/init.camera.rc | 10 +++++++--- 1 file 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)) -- cgit v1.2.3