diff options
| author | Ytai Ben-Tsvi <ytai@google.com> | 2020-04-14 11:51:55 -0700 |
|---|---|---|
| committer | Ytai Ben-Tsvi <ytai@google.com> | 2020-04-14 18:36:17 -0700 |
| commit | b933e2cf539e7c6fc224fb3e450f2fe23914910f (patch) | |
| tree | b24b6781eb9caaa1df71eb90ee098213acd2459c /tools/aapt2/diff/Diff.cpp | |
| parent | ced11b60add068e9af896c6db074601010122930 (diff) | |
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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions
