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:
Pandari Sabhapathi 2013-03-08 15:56:28 -08:00 committed by Satheesh Jayakumar
parent 492ae0bcbc
commit a5e2030015

View file

@ -223,6 +223,8 @@ const GpsInterface* gps_get_hardware_interface ()
char propBuf[PROPERTY_VALUE_MAX];
loc_eng_read_config();
// check to see if GPS should be disabled
property_get("gps.disable", propBuf, "");
if (propBuf[0] == '1')