mirror of
https://gitee.com/openharmony/base_location
synced 2024-11-23 06:50:03 +00:00
update services/location_locator/locator/source/report_manager.cpp.
Signed-off-by: smilebear <245252081@qq.com>
This commit is contained in:
parent
3ffa3bdd36
commit
a5217d15a2
@ -328,7 +328,6 @@ void ReportManager::UpdateLastLocation(const std::unique_ptr<Location>& location
|
||||
std::unique_ptr<Location> ReportManager::GetLastLocation()
|
||||
{
|
||||
auto locatorBackgroundProxy = LocatorBackgroundProxy::GetInstance();
|
||||
// locatorBackgroundProxy->OnSaStateChange(isEnabled);
|
||||
int currentUserId = locatorBackgroundProxy->getCurrentUserId();
|
||||
LBSLOGI(LOCATOR_STANDARD, "GetCacheLocation GetLastLocation currentUserId = %{public}d ", currentUserId);
|
||||
std::unique_lock<std::mutex> lock(lastLocationMutex_);
|
||||
|
Loading…
Reference in New Issue
Block a user