mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
Merge "Initialize mStopThread in Sensor constructor" into main am: 014b456a11 am: 9f52ca0fd2 am: b3114df058 am: 2dcf4ebe43
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2717101 Change-Id: I1af019195cc44a243fb53d5f1ad7e49ea37173d9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -40,6 +40,7 @@ Sensor::Sensor(ISensorsEventCallback* callback)
|
||||
: mIsEnabled(false),
|
||||
mSamplingPeriodNs(0),
|
||||
mLastSampleTimeNs(0),
|
||||
mStopThread(false),
|
||||
mCallback(callback),
|
||||
mMode(OperationMode::NORMAL) {
|
||||
mRunThread = std::thread(startThread, this);
|
||||
|
||||
Reference in New Issue
Block a user