hardware/qcom/gps: Read gps.conf file for config information
gps.conf needs to be initialized for native GARDEn test Change-Id: I08a3dd46ff42786f81636ab6929fdfa6d19b1400
This commit is contained in:
parent
492ae0bcbc
commit
a5e2030015
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ const GpsInterface* gps_get_hardware_interface ()
|
||||||
|
|
||||||
char propBuf[PROPERTY_VALUE_MAX];
|
char propBuf[PROPERTY_VALUE_MAX];
|
||||||
|
|
||||||
|
loc_eng_read_config();
|
||||||
|
|
||||||
// check to see if GPS should be disabled
|
// check to see if GPS should be disabled
|
||||||
property_get("gps.disable", propBuf, "");
|
property_get("gps.disable", propBuf, "");
|
||||||
if (propBuf[0] == '1')
|
if (propBuf[0] == '1')
|
||||||
|
|
Loading…
Reference in a new issue