When sending GPS LOCK status to XTRA mask NFW bit
Change-Id: Icdc26358627abf4097dcb8dc4fb35af039fd921d CRs-fixed: 2444862
This commit is contained in:
parent
0330e79d4a
commit
8890e5aeee
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