Make SoundTriggerHw2Enforcer thread-safe
Since this class may be accessed from two separate execution contexts (forward calls and callbacks), make sure we avoid data races when accessing mModelStates. Fixes: 154002405 Test: Manual verification of sound-trigger functionality. Change-Id: I817a4d1b2861de8bc7ce364e39f36dd07863d307
Loading
Please register or sign in to comment