klte-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 6a8a736148
commit 1dbfdd79c5
1 changed files with 1 additions and 0 deletions

View File

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