Ensure the callback for AudioDeviceListener runs on the thread where it is created.
Notifications from the OS can come on any thread, which may lead to crashes. Bug: 911311 Change-Id: Ibfd71bf572427e17e17d4fcda92690e8960fd571 Reviewed-on: https://chromium-review.googlesource.com/c/1371871 Commit-Queue: Olga Sharonova <olka@chromium.org> Reviewed-by:Olga Sharonova <olka@chromium.org> Cr-Commit-Position: refs/heads/master@{#615653}
Showing
Please register or sign in to comment