[answered] Two identical gps.conf files. Which one used by apps. (v2.0.2.45)
Hi.
After update I noticed that we have two identical gps.conf files. One in /etc/gps.conf and second one in /system/etc/gps.conf.
I don't remember if on 2.0.1.11 it also was two file... I think the second one not was. Questions is:
1. Why two files ?
2. Which one used by apps like Waze, Maps etc... for getting supplier:
SUPL_HOST=supl.pos.nlp.nokia.com
SUPL_PORT=7275
Thanks
Just checked it on 2.0.1.11 and there are also both config files avialiable. :)
Alex ( 2016-06-26 09:34:29 +0200 )editThanks....
Schturman ( 2016-06-26 10:06:17 +0200 )editThanks for answer, but in my device both files is a real files, not symlink.
Schturman ( 2016-06-26 11:45:06 +0200 )editAlso on 2.0.1.11 for me it was a real file /etc/gps.confI even created patch for changing SUPL_HOST and SUPL_PORT (https://openrepos.net/content/schturman/patch-gps-supplier). This what I remember...
P.S. Ok, probably you are right and /etc/gps.conf should be a symlink, but sed command changed it to the real file. Just now created a simple file inside /system/etc and symlink to /etc,and when I used sed command it converted symlink to real file...
Thanks I will update my app. And please convert your comment as answer ;)