commit | 7434e81670e459054a94fd1bb51a963547440b0e | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Tue Jun 27 18:22:35 2023 +0000 |
committer | jiabin <jiabin@google.com> | Tue Jun 27 23:39:26 2023 +0000 |
tree | a6601f21e548ecad278b588606120e0feb6c7b18 | |
parent | 1579be6d8afe1d369744b0153b5254b655e993e0 [diff] |
Accessing tee patches with holding the thread lock. There is race that the tee patches can be updated from thread loop and the tee patches can also be accessed when the client has some operations. In that case, it will be safe to access tee patches with holding the thread lock. Bug: 286576245 Test: atest AudioPlaybackCaptureTest Change-Id: Ia704350ed5b3c914448ee609da33b867e3aa7626