summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2020-08-13 22:02:18 -0700
committerKevin Tang <zhikait@codeaurora.org>2020-09-09 10:22:48 -0700
commit68eb016da6c264aaabebdcdca67a03ee4f38d5a5 (patch)
tree227e047199e193c07d94123070d59b169e8f8096 /core/LocApiBase.cpp
parented1e71bdcc1f2676685fc903d01f3fb0aca8cc99 (diff)
gps.utils changes
* Replaced the use of pthread in the implementation of LocThread with std::thread. * Removed the support of joinable thread from LocThread API, as it is never needed. * MsgTask no longer derives from LocRunnable, so that it can be directly deleted by ownerer. * Removed tCreator from LocThread::start() as well as LocContext::getLocContext(). * Placed utils classes under loc_utils namespace. Change-Id: Ia6b29debbf92c48aa643574b1d3789da686f5c73 CRs-Fixed: 2770806
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 55ba72e..6685add 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -160,7 +160,7 @@ LocApiBase::LocApiBase(LOC_API_ADAPTER_EVENT_MASK_T excludedMask,
android_atomic_inc(&mMsgTaskRefCount);
if (nullptr == mMsgTask) {
- mMsgTask = new MsgTask("LocApiMsgTask", false);
+ mMsgTask = new MsgTask("LocApiMsgTask");
}
}