Merge "hardware/qcom/gps: Read gps.conf file for config information"

This commit is contained in:
Linux Build Service Account 2013-07-09 05:27:08 -07:00 committed by Gerrit - the friendly Code Review server
commit d98fd75d04

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')