Merge "When sending GPS LOCK status to XTRA mask NFW bit"
This commit is contained in:
commit
9ddd6b1349
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ using namespace loc_core;
|
||||||
#define LOG_TAG "LocSvc_XSSO"
|
#define LOG_TAG "LocSvc_XSSO"
|
||||||
|
|
||||||
bool XtraSystemStatusObserver::updateLockStatus(GnssConfigGpsLock lock) {
|
bool XtraSystemStatusObserver::updateLockStatus(GnssConfigGpsLock lock) {
|
||||||
mGpsLock = lock;
|
// mask NI(NFW bit) since from XTRA's standpoint GPS is enabled if
|
||||||
|
// MO(AFW bit) is enabled and disabled when MO is disabled
|
||||||
|
mGpsLock = lock & ~GNSS_CONFIG_GPS_LOCK_NI;
|
||||||
|
|
||||||
if (!mReqStatusReceived) {
|
if (!mReqStatusReceived) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue