msm8974-common: gps: Unlock the GPS

[haggertk]:
 * During bring-up of O, GPS was exhibiting different behavior from
   N -- an appropriate number of satellites would immediately lock,
   but a fix would not resolve for 30-90 seconds. Digging up this
   change from the L-era allows GPS to resolve a fix in a nominal
   amount of time.

Change-Id: If9fd67483fedee915d46f7b9d2a7e0851400de3c
This commit is contained in:
Christopher R. Palmer 2015-06-04 15:45:55 -04:00 committed by Kevin F. Haggerty
parent f5411b66d1
commit c911560316

View File

@ -1387,6 +1387,7 @@ struct LocEngInit : public LocMsg {
} }
inline virtual void proc() const { inline virtual void proc() const {
loc_eng_reinit(*mLocEng); loc_eng_reinit(*mLocEng);
mLocEng->adapter->setGpsLock(1);
// set the capabilities // set the capabilities
mLocEng->adapter->sendMsg(new LocEngSetCapabilities(mLocEng)); mLocEng->adapter->sendMsg(new LocEngSetCapabilities(mLocEng));
} }