From 31c73138eb8e6060d63e4234ccf642e809b4f78a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Andrei=20M=C4=83ce=C8=99?= Date: Tue, 21 Aug 2018 11:46:17 +0300 Subject: [PATCH] deb: init: Bring back /data/misc/location/gpsone_d MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The entire /data/misc/location is gone with Pie, and our GPS HALs (specifically, libloc_eng) need to write in there. Change-Id: Ic5462b21b1098604f29de0baeabdfac9abaa58fa Signed-off-by: D. Andrei Măceș Signed-off-by: Daniel Jarai Signed-off-by: Svyatoslav Ryhel --- rootdir/etc/init.deb.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/etc/init.deb.rc b/rootdir/etc/init.deb.rc index f40b147..01311eb 100644 --- a/rootdir/etc/init.deb.rc +++ b/rootdir/etc/init.deb.rc @@ -230,6 +230,10 @@ on post-fs-data setprop vold.post_fs_data_done 1 +on zygote-start + mkdir /data/misc/location 0770 gps gps + mkdir /data/misc/location/gpsone_d 0770 system gps + service irsc_util /vendor/bin/irsc_util "/etc/sec_config" class main user root