summaryrefslogtreecommitdiff
path: root/src/FLoc_LocationProviderImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/FLoc_LocationProviderImpl.cpp')
-rw-r--r--src/FLoc_LocationProviderImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FLoc_LocationProviderImpl.cpp b/src/FLoc_LocationProviderImpl.cpp
index 5bd8c9a..c365863 100644
--- a/src/FLoc_LocationProviderImpl.cpp
+++ b/src/FLoc_LocationProviderImpl.cpp
@@ -953,10 +953,10 @@ void
_LocationProviderImpl::StopRegionMonitoring(void)
{
result r = _AlarmImpl::GetInstance(__regionMonitor.pAlarm.get())->Cancel();
- SysTryReturnVoidResult(NID_LOC, r == E_SUCCESS, r, "[%s] Failed to stop the alarm. Ignored.", GetErrorMessage(r));
+ SysTryLog(NID_LOC, r == E_SUCCESS, "[%s] Failed to stop the alarm. Ignored.", GetErrorMessage(r));
r = __regionMonitor.pTimer->Cancel();
- SysTryReturnVoidResult(NID_LOC, r == E_SUCCESS, r, "[%s] Failed to stop the timer. Ignored.", GetErrorMessage(r));
+ SysTryLog(NID_LOC, r == E_SUCCESS, "[%s] Failed to stop the timer. Ignored.", GetErrorMessage(r));
r = __pLocationManager->StopLocationUpdates(__regionMonitor.reqId);
SysTryReturnVoidResult(NID_LOC, r == E_SUCCESS, r, "[%s] All regions are removed but failed to stop the location updates. Ignored.", GetErrorMessage(r));