diff options
author | qctecmdr <qctecmdr@localhost> | 2019-05-02 13:45:05 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-05-02 13:45:05 -0700 |
commit | 697ee570fe51d3c05652dc3da17a135e80b192d5 (patch) | |
tree | 5e6847dddaa1bcffd47d2c0cb8692b3fbd851c0b /gnss | |
parent | 4d6bb2da93570f07d874e2a76519518c6d4b163f (diff) | |
parent | e7c30fa882af46d23f9eddf78fd66cd1bf89a65c (diff) | |
download | gps-697ee570fe51d3c05652dc3da17a135e80b192d5.tar.gz |
Merge "GNSS HIDL 2.0 updates"
Diffstat (limited to 'gnss')
-rw-r--r-- | gnss/GnssAdapter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp index e1143fd..4336691 100644 --- a/gnss/GnssAdapter.cpp +++ b/gnss/GnssAdapter.cpp @@ -1982,9 +1982,6 @@ GnssAdapter::updateClientsEventMask() if (it->second.trackingCb != nullptr || it->second.gnssLocationInfoCb != nullptr) { mask |= LOC_API_ADAPTER_BIT_PARSED_POSITION_REPORT; } - if (it->second.gnssNiCb != nullptr) { - mask |= LOC_API_ADAPTER_BIT_NI_NOTIFY_VERIFY_REQUEST; - } if (it->second.gnssSvCb != nullptr) { mask |= LOC_API_ADAPTER_BIT_SATELLITE_REPORT; } @@ -2033,6 +2030,10 @@ GnssAdapter::updateClientsEventMask() // need to register for leap second info // for proper nmea generation mask |= LOC_API_ADAPTER_BIT_LOC_SYSTEM_INFO; + + // always register for NI NOTIFY VERIFY to handle internally in HAL + mask |= LOC_API_ADAPTER_BIT_NI_NOTIFY_VERIFY_REQUEST; + updateEvtMask(mask, LOC_REGISTRATION_MASK_SET); } |