Felix HAL: Move mActiveId_mutex as a private member.

Bug: 379619627
Flag: EXEMPT test only
Test: VibratorHalCs40l26TestSuite
Change-Id: I59298139e68777e37f9f45de9661de59ba34cb83
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
This commit is contained in:
Zouberou Sayibou 2024-12-11 07:55:29 +00:00
parent 8a2d7fdd7c
commit 0c5fb7e754
2 changed files with 1 additions and 1 deletions

View file

@ -203,7 +203,6 @@ enum vibe_state {
VIBE_STATE_ASP,
};
std::mutex mActiveId_mutex; // protects mActiveId
class DspMemChunk {
private:

View file

@ -256,6 +256,7 @@ class Vibrator : public BnVibrator {
bool mConfigHapticAlsaDeviceDone{false};
bool mGPIOStatus;
bool mIsDual{false};
std::mutex mActiveId_mutex; // protects mActiveId
};
} // namespace vibrator