diff options
author | Nilesh Gharde <ngharde@codeaurora.org> | 2019-08-29 14:24:46 +0530 |
---|---|---|
committer | Nilesh Gharde <ngharde@codeaurora.org> | 2019-09-04 11:42:19 +0530 |
commit | 0df749e3635c8568c38babdfad81a4b0d1e5ce39 (patch) | |
tree | 810dbf4d82e1584d5adac4145698ab0e3a3fd04f /location | |
parent | 93db35b82539baf5c2b80bc8314cf79070dcbc22 (diff) | |
download | gps-0df749e3635c8568c38babdfad81a4b0d1e5ce39.tar.gz |
Adding one level of context swith for Geofence_add
Added one more context switch for geofence add
command. To even out total number of the context
switch as it is for remove/modify/pause command.
This will prevent out of order execution of
sent msg tasks.
Change-Id: Icf1f39ee3526e2e45cfe3e84945f71524941069b
CRs-Fixed: 2516790
Diffstat (limited to 'location')
-rw-r--r-- | location/LocationAPIClientBase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/location/LocationAPIClientBase.h b/location/LocationAPIClientBase.h index fddae60..098000c 100644 --- a/location/LocationAPIClientBase.h +++ b/location/LocationAPIClientBase.h @@ -488,6 +488,7 @@ private: for (size_t i = 0; i < count; i++) { ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); } + LOC_LOGD("%s:]Returned geofence-id: %d in add geofence", __FUNCTION__, *ids); mAPI.onAddGeofencesCb(count, errors, ids); free(ids); } @@ -505,6 +506,7 @@ private: for (size_t i = 0; i < count; i++) { ids[i] = mRemovedGeofenceBiDict->getId(sessions[i]); } + LOC_LOGD("%s:]Returned geofence-id: %d in remove geofence", __FUNCTION__, *ids); mAPI.onRemoveGeofencesCb(count, errors, ids); free(ids); delete(mRemovedGeofenceBiDict); |