Merge "hardware/qcom/gps: Read gps.conf file for config information"
This commit is contained in:
commit
d98fd75d04
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