Fix threading issue in Assistant Service
With the recent refactor off of Service Manager, a bug was introduced which can cause the Client interface to be used from arbitrary threads via calls from libassistant. This fixes the bug by ensuring that calls to RequestAudioStreamFactory always happen from the main thread. Bug: b:139480195 Change-Id: Ie3dca871929ccc913d7d4f1bf3ad2e17b8db7a3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756546 Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by:Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#687370}
Showing
Please register or sign in to comment