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:
parent
f5411b66d1
commit
c911560316
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user