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
This commit is contained in:
Dante Russo 2019-05-29 17:59:00 -07:00 committed by Gerrit - the friendly Code Review server
parent 052afd6e47
commit 04db4be280

View file

@ -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);