diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2019-09-23 10:08:23 -0700 |
---|---|---|
committer | Bhavna Sharma <sbhavna@codeaurora.org> | 2019-09-25 10:53:41 -0700 |
commit | b6f19637e37de64478b743bbd8bea5955900190a (patch) | |
tree | 71ad0ce2c5063762a4a316ad3689a6296349c668 /android | |
parent | 95bf087ce892d5a4ea83638e6d65947699d650a0 (diff) | |
download | gps-b6f19637e37de64478b743bbd8bea5955900190a.tar.gz |
Fix deleteAll case for GNSS HIDL 2.0
For GNSS HIDL 2.0, delete command should explicitly
specify the engine the delete command is to be
performed on.
CRs-Fixed: 2533225
Change-Id: Ib69c3f11eb4df94a3becdbb2b0cff9288283067e
Diffstat (limited to 'android')
-rw-r--r-- | android/2.0/location_api/GnssAPIClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/2.0/location_api/GnssAPIClient.cpp b/android/2.0/location_api/GnssAPIClient.cpp index 0d813f4..a3cdd27 100644 --- a/android/2.0/location_api/GnssAPIClient.cpp +++ b/android/2.0/location_api/GnssAPIClient.cpp @@ -281,6 +281,7 @@ void GnssAPIClient::gnssDeleteAidingData(IGnss::GnssAidingData aidingDataFlags) GNSS_AIDING_DATA_SV_TYPE_BEIDOU_BIT | GNSS_AIDING_DATA_SV_TYPE_GALILEO_BIT | GNSS_AIDING_DATA_SV_TYPE_NAVIC_BIT; + data.posEngineMask = STANDARD_POSITIONING_ENGINE; if (aidingDataFlags == IGnss::GnssAidingData::DELETE_ALL) data.deleteAll = true; |