init: Restart the sensor daemon when the system restarts

sensord really dislikes losing the HAL.
Fixes CRACKLING-172

Change-Id: Iede524f3e584f7da56201ff8916db993a5b8f17d
cm-14.0
Ricardo Cerqueira 11 years ago committed by Ethan Chen
parent e921e2c8ae
commit 248dad200f

@ -702,6 +702,9 @@ service sensord /system/bin/sensord
class main
user root
on property:init.svc.zygote=restarting
restart sensord
service setup_fs /system/bin/setup_fs /dev/block/platform/7824900.sdhci/by-name/userdata
class core
user root

Loading…
Cancel
Save