summaryrefslogtreecommitdiff
path: root/location
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2019-05-29 17:59:00 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-06-03 10:36:36 -0700
commit04db4be280bef79038482dc37d2972ab2525692c (patch)
tree6ce140cb4f2fc7a151afcd22ffa4bf896dac2a0e /location
parent052afd6e47e58c88f00ea353f601592d308cbc72 (diff)
downloadgps-04db4be280bef79038482dc37d2972ab2525692c.tar.gz
Downgrade locApiStopTracking print error to debug
On cleanup, the locApiStopTracking is called regardless if a session is active or not, where this error would be printed. This is an expected case, so it should not be an error print. Change-Id: Ieb10d159ad61a212821ef897d50d635354557cca CRs-fixed: 2461760
Diffstat (limited to 'location')
-rw-r--r--location/LocationAPIClientBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/location/LocationAPIClientBase.cpp b/location/LocationAPIClientBase.cpp
index 67e559b..5a09712 100644
--- a/location/LocationAPIClientBase.cpp
+++ b/location/LocationAPIClientBase.cpp
@@ -366,7 +366,7 @@ void LocationAPIClientBase::locAPIStopTracking()
mLocationAPI->stopTracking(session);
mTracking = false;
} else {
- LOC_LOGE("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session);
+ LOC_LOGD("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session);
}
}
pthread_mutex_unlock(&mMutex);