Loading sensors/common/vts/utils/SensorsHidlEnvironmentBase.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -29,8 +29,10 @@ void SensorsHidlEnvironmentBase::HidlSetUp() { void SensorsHidlEnvironmentBase::HidlTearDown() { mStopThread = true; if (mPollThread.joinable()) { mPollThread.detach(); } } void SensorsHidlEnvironmentBase::catEvents(std::vector<Event>* output) { std::lock_guard<std::mutex> lock(mEventsMutex); Loading Loading
sensors/common/vts/utils/SensorsHidlEnvironmentBase.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -29,8 +29,10 @@ void SensorsHidlEnvironmentBase::HidlSetUp() { void SensorsHidlEnvironmentBase::HidlTearDown() { mStopThread = true; if (mPollThread.joinable()) { mPollThread.detach(); } } void SensorsHidlEnvironmentBase::catEvents(std::vector<Event>* output) { std::lock_guard<std::mutex> lock(mEventsMutex); Loading