summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authortunturn <arbiter1000@gmail.com>2017-03-09 21:48:03 +1100
committerMax Weffers <rcstar6696@gmail.com>2017-03-14 13:17:14 +0100
commita72bd70563e38826eba79c78ed14543a2f86b4bf (patch)
tree89b0ba631e15154ca86af197d8f3d27ddcf496a0 /rootdir
parent7c9b6ae672125bc9ec926a0d948b6eae3e11f583 (diff)
shinano-common: add loc_launcher service for GPS
Change-Id: I5d8008f0fcb4455c77fb1df4b21e56abb7819ce7
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.qcom.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 7681470..39a3255 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -360,6 +360,7 @@ on post-fs-data
mkdir /data/misc/location 0770 gps gps
mkdir /data/misc/location/mq 0770 gps gps
mkdir /data/misc/location/xtwifi 0770 gps gps
+ mkdir /data/misc/location/gsiff 0770 gps gps
# Provide the access to hostapd.conf only to root and group
chmod 0660 /data/hostapd/hostapd.conf
@@ -516,6 +517,11 @@ service mpdecision /system/bin/mpdecision --avg_comp
group system
disabled
+service loc_launcher /system/bin/loc_launcher
+ #loc_launcher will start as root and set its uid to gps
+ class late_start
+ group gps qcom_oncrpc inet net_raw qcom_diag net_admin wifi
+
on property:gsm.nitz.time=*
start scdnotifier_nitz