From 28ac45f2dbe7d59d520face7453040702bb2fb85 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 5 May 2023 20:09:13 +0300 Subject: msm8996-common: Implement xtra-daemon control via property Default to false if the property is not set. Device init scripts will need to be adapted to restart loc_launcher service when property change is detected. Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 49e1184..17d7dd3 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -416,6 +416,9 @@ service loc_launcher /vendor/bin/loc_launcher group gps writepid /dev/cpuset/system-background/tasks +on property:persist.sys.xtra-daemon.enabled=* + restart vendor.loc_launcher + service qcom-sh /vendor/bin/init.qcom.sh class late_start user root -- cgit v1.2.3